1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
19 // Link Manager Ioctls
21 /** Link manager Ioctl codes.
22 WARNING: For internal use ONLY. Compatibility is not guaranteed in future releases.
26 /** Disconnect ACL Ioctl code
29 KLMDisconnectACLIoctl,
30 /** Set Packet type Ioctl code
33 KLMSetPacketTypeIoctl,
34 /** Wait for SCO notification Ioctl code
37 KLMWaitForSCONotificationIoctl,
38 /** One-shot baseband notification Ioctl code
41 KLMBasebandEventOneShotNotificationIoctl,
42 /** Baseband event notification Ioctl code
45 KLMBasebandEventNotificationIoctl,
46 /** Read Failed Contact Counter Ioctl
49 KLMReadFailedContactCounterIoctl,
50 /** Read Link Quality Ioctl
53 KLMReadLinkQualityIoctl,
58 /** Read Current Transmit Power Level Ioctl
61 KLMReadCurrentTransmitPowerLevelIoctl,
65 /** Link manager options.
67 WARNING: For internal use ONLY. Compatibility is not guaranteed in future releases.
71 ELMOutboundACLSize, /*!< Outbound ACL size option */
72 ELMInboundACLSize, /*!< Inbound ACL size option */
73 KLMGetACLHandle, /*!< Get ACL Handle option */
74 KLMGetACLLinkCount, /*!< Get ACL link count option */
75 KLMGetACLLinkArray, /*!< Get ACL link array option */
76 KLMSetBasebandConnectionPolicy, /*!< Set baseband connection policy option */
77 KLMGetBasebandHandle, /*!< Get baseband handle option */
78 EBBSubscribePhysicalLink, /*!< Subscribe physical link option */
79 EBBBeginRaw, /*!< Enable raw broadcast option */
80 EBBRequestRoleMaster, /*!< Request switch to master option */
81 EBBRequestRoleSlave, /*!< Request switch to slave option */
82 EBBCancelModeRequest, /*!< Cancel mode request option */
83 EBBRequestSniff, /*!< Request sniff mode option */
84 EBBRequestPark, /*!< Request park mode option */
85 EBBRequestPreventRoleChange, /*!< Request to prevent a role (master / slave) switch option */
86 EBBRequestAllowRoleChange, /*!< Request to allow a role (master / slave) switchoption */
87 EBBRequestChangeSupportedPacketTypes, /*!< Request to cange the current supported packet types option */
88 EBBEnumeratePhysicalLinks, /*!< Enumerate physical links option */
89 EBBGetPhysicalLinkState, /*!< Get the physical link state option */
90 EBBGetSniffInterval, /*!< Get Sniff Interval option */
91 EBBRequestLinkAuthentication, /*!< Request authentication on the link */
92 EBBRequestExplicitActiveMode, /*!< Explicitly request the link to go into active mode */
94 //Allow combination of options below...
95 EBBRequestPreventSniff = 0x100, /*!< Request to prevent entering sniff mode option */
96 EBBRequestPreventHold = 0x200, /*!< Request to prevent entering hold mode option */
97 EBBRequestPreventPark = 0x400, /*!< Request to prevent entering park mode option */
98 EBBRequestPreventAllLowPowerModes =
99 (EBBRequestPreventSniff |
100 EBBRequestPreventHold |
101 EBBRequestPreventPark), /*!< Request to prevent entering all modes option */
102 EBBRequestAllowSniff = 0x800, /*!< Request to allow entering sniff mode option */
103 EBBRequestAllowHold = 0x1000, /*!< Request to allow entering hold mode option */
104 EBBRequestAllowPark = 0x2000, /*!< Request to allow entering park mode option */
105 EBBRequestAllowAllLowPowerModes =
106 (EBBRequestAllowSniff |
107 EBBRequestAllowHold |
108 EBBRequestAllowPark), /*!< Request to allow entering-all-modes option. */
112 #endif // LMOPTIONS_H