WLAN services: Difference between revisions
Tag: Undo |
|||
(16 intermediate revisions by 3 users not shown) | |||
Line 257: | Line 257: | ||
This is used by [[Network_Interface_services|nifm]]. | This is used by [[Network_Interface_services|nifm]]. | ||
[20.0.0+] Now takes a total of 0x40-bytes of input. | |||
== RemoveTcpSessionInformation == | == RemoveTcpSessionInformation == | ||
Line 289: | Line 291: | ||
No input. Returns a [[#WakeUpStats]] and a [[#SleepStats]]. | No input. Returns a [[#WakeUpStats]] and a [[#SleepStats]]. | ||
[5.0.0+] Now returns a total of 0x58-bytes of output instead of 0x5C. | [5.0.0+] Now returns a total of 0x58-bytes of output instead of 0x5C-bytes. | ||
Sends command message 0x39 to the state machine, with 0x20-bytes from the output being copied to the first output struct. Sends command message 0x3A to the state machine, with 0x38-bytes from the output being copied to the second output struct. | Sends command message 0x39 to the state machine, with 0x20-bytes from the output being copied to the first output struct. Sends command message 0x3A to the state machine, with 0x38-bytes from the output being copied to the second output struct. | ||
Line 559: | Line 561: | ||
|} | |} | ||
[5.0.0+] GetAllowedChannels now returns a total of 4-bytes of output instead of 0x50, and now takes a type-0xA output buffer. | [5.0.0+] GetAllowedChannels now returns a total of 4-bytes of output instead of 0x50-bytes, and now takes a type-0xA output buffer. | ||
[10.0.0+] Cmd46 now takes a total of 1-byte of input instead of 6-bytes, while cmd47 now takes a total of 6-bytes of input instead of 1-byte. | [10.0.0+] Cmd46 now takes a total of 1-byte of input instead of 6-bytes, while cmd47 now takes a total of 6-bytes of input instead of 1-byte. | ||
Line 856: | Line 858: | ||
| 11 || [[#EnableSharedMemory|EnableSharedMemory]] | | 11 || [[#EnableSharedMemory|EnableSharedMemory]] | ||
|- | |- | ||
| 12 || [6.0.0+] [[# | | 12 || [6.0.0+] [[#SetMulticastFilter|SetMulticastFilter]] | ||
|} | |} | ||
Line 909: | Line 911: | ||
[15.0.0+] Stubbed. Returns 0. | [15.0.0+] Stubbed. Returns 0. | ||
== | == SetMulticastFilter == | ||
Takes an input [[#MulticastList]]. No output. | Takes an input [[#MulticastList]]. No output. | ||
Line 997: | Line 997: | ||
== CreateWirelessCommunicationService == | == CreateWirelessCommunicationService == | ||
No input. Returns an [[#IWirelessCommunicationService]]. | No input. Returns an [[#IWirelessCommunicationService]]. | ||
Line 1,010: | Line 1,008: | ||
! Cmd || Name | ! Cmd || Name | ||
|- | |- | ||
| 0 || | | 0 || OpenCommunication | ||
|- | |- | ||
| 1 || | | 1 || CloseCommunication | ||
|- | |- | ||
| 10 || | | 10 || PutActionFrame | ||
|- | |- | ||
| 11 || | | 11 || GetActionFrame | ||
|- | |- | ||
| 12 || | | 12 || CancelGetActionFrame | ||
|- | |- | ||
| 13 || | | 13 || CreateRxEntryForActionFrame | ||
|- | |- | ||
| 14 || | | 14 || DeleteRxEntryForActionFrame | ||
|- | |- | ||
| 20 || | | 20 || SetActionFrameBssidFilter | ||
|- | |- | ||
| 21 || | | 21 || DeleteActionFrameBssidFilter | ||
|- | |- | ||
| 30 || | | 30 || GetState | ||
|- | |- | ||
| 31 || | | 31 || GetCommunicationSetting | ||
|- | |- | ||
| 32 || | | 32 || GetStationStatus | ||
|- | |- | ||
| 33 || [[#GetMacAddress|GetMacAddress]] | | 33 || [[#GetMacAddress|GetMacAddress]] | ||
|- | |- | ||
| 40 || | | 40 || PutFrame | ||
|- | |- | ||
| 41 || | | 41 || GetFrame | ||
|- | |- | ||
| 42 || | | 42 || CancelGetFrame | ||
|- | |- | ||
| 43 || [[#CreateRxEntry|CreateRxEntry]] | | 43 || [[#CreateRxEntry|CreateRxEntry]] | ||
Line 1,052: | Line 1,050: | ||
| 47 || [[#AddMatchingDataToRxEntry|AddMatchingDataToRxEntry]] | | 47 || [[#AddMatchingDataToRxEntry|AddMatchingDataToRxEntry]] | ||
|- | |- | ||
| 48 || | | 48 || DeleteMatchingDataFromRxEntry | ||
|- | |- | ||
| 50 || | | 50 || AddVendorSpecificIe | ||
|- | |- | ||
| 51 || | | 51 || DeleteVendorSpecificIe | ||
|- | |- | ||
| 60 || | | 60 || Scan | ||
|- | |- | ||
| 61 || | | 61 || StopScan | ||
|- | |- | ||
| 62 || | | 62 || GetScanCompleteEvent | ||
|- | |- | ||
| 63 || | | 63 || GetScanResults | ||
|- | |- | ||
| 70 || [[#RegisterSharedMemory|RegisterSharedMemory]] | | 70 || [[#RegisterSharedMemory|RegisterSharedMemory]] | ||
Line 1,076: | Line 1,074: | ||
| 81 || [[#RequestWakeUp|RequestWakeUp]] | | 81 || [[#RequestWakeUp|RequestWakeUp]] | ||
|- | |- | ||
| 90 || | | 90 || [[#CreateBss|CreateBss]] | ||
|- | |- | ||
| 91 || | | 91 || DestroyBss | ||
|- | |- | ||
| 92 || | | 92 || Deauthenticate | ||
|- | |- | ||
| 93 || | | 93 || GetStationConnectionEvent | ||
|- | |- | ||
| 94 || | | 94 || GetAllowedChannels | ||
|- | |- | ||
| 95 || [[#SetActionFrameWithBeacon|SetActionFrameWithBeacon]] | | 95 || [[#SetActionFrameWithBeacon|SetActionFrameWithBeacon]] | ||
|- | |- | ||
| 96 || | | 96 || StopActionFrameWithBeacon | ||
|- | |- | ||
| 97 || [[#SetMaxAssociationNumber|SetMaxAssociationNumber]] | | 97 || [[#SetMaxAssociationNumber|SetMaxAssociationNumber]] | ||
|- | |- | ||
| 98 || | | 98 || SetShortGiSupport | ||
|- | |||
| 100 || [[#Connect|Connect]] | |||
|- | |||
| 101 || GetConnectionEvent | |||
|- | |||
| 102 || CancelConnect | |||
|- | |||
| 103 || Disconnect | |||
|- | |||
| 104 || GetConnectionCompleteEvent | |||
|- | |||
| 105 || GetConnectionStatus | |||
|- | |||
| 106 || GetRssiAndSignalLevel | |||
|- | |||
| 107 || [[#SetMulticastFilter|SetMulticastFilter]] | |||
|- | |||
| 108 || [[#SetPowerSaveMode|SetPowerSaveMode]] | |||
|- | |||
| 109 || [19.0.0+] | |||
|- | |- | ||
| | | 110 || GetWakeupReason | ||
|- | |- | ||
| | | 111 || [[#SetTcpSessionInformation|SetTcpSessionInformation]] | ||
|- | |- | ||
| | | 112 || RemoveTcpSessionInformation | ||
|- | |- | ||
| | | 113 || SetWowlDelayedWakeTime | ||
|- | |- | ||
| | | 120 || [19.0.0+] | ||
|- | |- | ||
| | | 130 || [20.0.0+] | ||
|- | |- | ||
| | | 140 || [20.0.0+] | ||
|- | |- | ||
| | | 200 || [17.0.0+] SetTxPower | ||
|- | |- | ||
| | | 201 || [17.0.0+] ResetTxPower | ||
|- | |- | ||
| | | 202 || [17.0.0+] GetTxPower | ||
|- | |- | ||
| | | 203 || [17.0.0+] RequestIfUpDown | ||
|- | |- | ||
| | | 204 || [19.0.0+] | ||
|- | |- | ||
| | | 900 || [20.0.0+] | ||
|} | |} | ||
[20.0.0+] Cmd120 now returns a total of 0x28-bytes of output instead of 0x18-bytes. | |||
[20.1.0+] Cmd120 now returns a total of 0x2C-bytes of output instead of 0x28-bytes. | |||
=== CreateBss === | |||
Takes a type-0x19 input buffer containing a 0x84-byte struct. Returns a total of 0x32-bytes of output. | |||
[19.0.0+] The struct size is now 0x80-bytes. | |||
=== Connect === | |||
Takes a total of 0x80-bytes of input. No output. | |||
[19.0.0+] Takes a total of 0x7C-bytes of input. No output. | |||
= wlan:p = | = wlan:p = | ||
Line 1,138: | Line 1,170: | ||
== CreatePrivateWirelessCommunicationService == | == CreatePrivateWirelessCommunicationService == | ||
No input. Returns an [[#IPrivateWirelessCommunicationService]]. | No input. Returns an [[#IPrivateWirelessCommunicationService]]. | ||
Line 1,153: | Line 1,183: | ||
| 0 || [[#GetFwVersion|GetFwVersion]] | | 0 || [[#GetFwVersion|GetFwVersion]] | ||
|- | |- | ||
| 1 || [[#ChangeRxAntenna|ChangeRxAntenna]] | | 1 || [15.0.0-16.1.0] [[#ChangeRxAntenna|ChangeRxAntenna]] | ||
|- | |- | ||
| 2 || | | 2 || [[#ScanWithScanTime|ScanWithScanTime]] | ||
|- | |- | ||
| 3 || | | 3 || GetWakeupReasonRaw | ||
|- | |- | ||
| 4 || | | 4 || SetWakeupReasonRaw | ||
|- | |- | ||
| 5 || | | 5 || EnableWowlFeatures | ||
|- | |- | ||
| 6 || | | 6 || [[#GetWowlStats|GetWowlStats]] | ||
|- | |- | ||
| 7 || | | 7 || ClearWowlStats | ||
|- | |- | ||
| 8 || | | 8 || [15.0.0-19.0.1] EmulateDriverInitFail | ||
|- | |- | ||
| 9 || | | 9 || GetChannelStats | ||
|- | |- | ||
| 10 || | | 10 || SetCalibrationTriggerOnScan | ||
|- | |- | ||
| 11 || | | 11 || SetMacAddress | ||
|- | |- | ||
| 12 || | | 12 || [[#CreateBssNoChannelLimit|CreateBssNoChannelLimit]] | ||
|- | |- | ||
| 13 || | | 13 || EnableTsfTimerFunction | ||
|- | |- | ||
| 14 || | | 14 || DisableTsfTimerFunction | ||
|- | |- | ||
| 15 || [[#GetDeltaTimeBetweenSystemAndTsf|GetDeltaTimeBetweenSystemAndTsf]] | | 15 || [[#GetDeltaTimeBetweenSystemAndTsf|GetDeltaTimeBetweenSystemAndTsf]] | ||
|- | |- | ||
| 16 || | | 16 || InitializeWlanProcess | ||
|- | |- | ||
| 17 || | | 17 || FinalizeWlanProcess | ||
|- | |- | ||
| 18 || | | 18 || ExecWpaCommand | ||
|- | |- | ||
| 19 || | | 19 || SwitchWlanDevice | ||
|- | |- | ||
| 20 || | | 20 || [15.0.0-16.1.0] | ||
|- | |- | ||
| 21 || | | 21 || [15.0.0-16.1.0] | ||
|- | |- | ||
| 22 || | | 22 || [15.0.0-16.1.0] | ||
|} | |} | ||
=== ScanWithScanTime === | |||
Takes 4-bytes of input and a type-0x19 input buffer containing a 0x1F8-byte struct. No output. | |||
[19.0.0+] The struct size is now 0x9A-bytes. | |||
=== GetWowlStats === | |||
[20.0.0+] Now returns a total of 0x5C-bytes of output instead of 0x58-bytes. | |||
=== CreateBssNoChannelLimit === | |||
Takes a type-0x19 input buffer containing a 0x84-byte struct. Returns a total of 0x32-bytes of output. | |||
[19.0.0+] The struct size is now 0x80-bytes. | |||
= wlan:nd = | = wlan:nd = | ||
Line 1,211: | Line 1,254: | ||
== CreateDriverService == | == CreateDriverService == | ||
No input. Returns an [[#ISfDriverService]]. | No input. Returns an [[#ISfDriverService]]. | ||
Line 1,224: | Line 1,265: | ||
! Cmd || Name | ! Cmd || Name | ||
|- | |- | ||
| 0 || [[# | | 0 || [[#OpenNetworkInterface]] | ||
|- | |- | ||
| 128 || | | 128 || GetDriverInfo | ||
|- | |- | ||
| 129 || | | 129 || GetNetworkInterfaceList | ||
|- | |- | ||
| 130 || | | 130 || GetStateChangedEvent | ||
|- | |- | ||
| 131 || | | 131 || GetNetworkInterfaceListUpdatedEvent | ||
|- | |- | ||
| 384 || | | 384 || Ioctl | ||
|- | |- | ||
| 385 || | | 385 || IoctlRead | ||
|- | |- | ||
| 386 || | | 386 || IoctlWrite | ||
|- | |- | ||
| 387 || | | 387 || IoctlReadWrite | ||
|- | |- | ||
| 388 || | | 388 || IoctlSetHandle | ||
|- | |- | ||
| 389 || | | 389 || IoctlGetHandle | ||
|} | |} | ||
=== | === OpenNetworkInterface === | ||
Takes a type-0x21 input buffer. Returns an [[#ISfNetworkInterfaceService]]. | Takes a type-0x21 input buffer. Returns an [[#ISfNetworkInterfaceService]]. | ||
Line 1,261: | Line 1,300: | ||
! Cmd || Name | ! Cmd || Name | ||
|- | |- | ||
| 0 || | | 0 || Duplicate | ||
|- | |- | ||
| 1 || | | 1 || BringUp | ||
|- | |- | ||
| 2 || | | 2 || BringDown | ||
|- | |- | ||
| 3 || | | 3 || StartCommunication | ||
|- | |- | ||
| 4 || | | 4 || StopCommunication | ||
|- | |- | ||
| 5 || | | 5 || CreateSharedMemory | ||
|- | |- | ||
| 6 || | | 6 || DestroySharedMemory | ||
|- | |- | ||
| 128 || | | 128 || GetNetworkInterfaceInfo | ||
|- | |- | ||
| 129 || | | 129 || GetStateChangedEvent | ||
|- | |- | ||
| 130 || | | 130 || GetRxQueue | ||
|- | |- | ||
| 131 || | | 131 || GetTxQueue | ||
|- | |- | ||
| 256 || | | 256 || SetMacAddress | ||
|- | |- | ||
| 257 || | | 257 || SetMru | ||
|- | |- | ||
| 258 || | | 258 || SetMtu | ||
|- | |- | ||
| 259 || | | 259 || SetFeatures | ||
|- | |- | ||
| 260 || | | 260 || SetMulticastFilter | ||
|- | |- | ||
| 261 || | | 261 || SetRxBufferSize | ||
|- | |- | ||
| 262 || | | 262 || SetTxBufferSize | ||
|- | |- | ||
| 384 || | | 384 || Ioctl | ||
|- | |- | ||
| 385 || | | 385 || IoctlRead | ||
|- | |- | ||
| 386 || | | 386 || IoctlWrite | ||
|- | |- | ||
| 387 || | | 387 || IoctlReadWrite | ||
|- | |- | ||
| 388 || | | 388 || IoctlSetHandle | ||
|- | |- | ||
| 389 || | | 389 || IoctlGetHandle | ||
|} | |} | ||
Line 1,396: | Line 1,435: | ||
= ScanRequest = | = ScanRequest = | ||
This is a 0x1B8-byte struct. | This is a 0x1B8-byte struct. | ||
[19.0.0+] This is a 0x9A-byte struct (previously 0x1F8-bytes). | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,635: | Line 1,676: | ||
| [12.0.0-13.0.0] || 4356a3-roml/pcie-ag-msgbuf-splitrx-pktctx-keepalive-sr-proptxstatus-ampduhostreorder-dlystat-rxdesens-clm_4356a3_ntd-noclminc-ntdds3-btcdyn-trfmgmt-pspretend-btafh-pktfilter-wowlpf-gtkoe-aoe-tcpkaoe-aloe Version: 7.35.252.104 (r728022) CRC: f0b454ec Date: Wed 2021-02-24 04:39:25 PST Ucode Ver: 1020.228 FWID 01-fbba058 | | [12.0.0-13.0.0] || 4356a3-roml/pcie-ag-msgbuf-splitrx-pktctx-keepalive-sr-proptxstatus-ampduhostreorder-dlystat-rxdesens-clm_4356a3_ntd-noclminc-ntdds3-btcdyn-trfmgmt-pspretend-btafh-pktfilter-wowlpf-gtkoe-aoe-tcpkaoe-aloe Version: 7.35.252.104 (r728022) CRC: f0b454ec Date: Wed 2021-02-24 04:39:25 PST Ucode Ver: 1020.228 FWID 01-fbba058 | ||
|- | |- | ||
| [14.0.0- | | [14.0.0-20.1.0] || 4356a3-roml/pcie-ag-msgbuf-splitrx-pktctx-keepalive-sr-proptxstatus-ampduhostreorder-dlystat-rxdesens-clm_4356a3_ntd-noclminc-ntdds3-btcdyn-trfmgmt-pspretend-btafh-pktfilter-wowlpf-gtkoe-aoe-tcpkaoe-aloe Version: 7.35.252.108 (c216b7c) CRC: 1be69227 Date: Sun 2021-08-29 19:24:39 PDT Ucode Ver: 1020.228 FWID 01-65333037 | ||
|} | |} | ||