WLAN services: Difference between revisions

(8 intermediate revisions by 2 users not shown)
Line 22: Line 22:
| 7 || Disconnect
| 7 || Disconnect
|-
|-
| 8 || GetConnectionEvent
| 8 || GetSystemEvent
|-
|-
| 9 || GetConnectionStatus
| 9 || GetConnectionStatus
Line 40: Line 40:
| 16 || RequestWakeUp
| 16 || RequestWakeUp
|-
|-
| 17 || RequestIfUpDown
| 17 || ConnectWithWps
|-
|-
| 18 || [3.0.0+]
| 18 || [3.0.0+]
Line 90: Line 90:


[7.0.0+] Input/output for cmds 27/28 were swapped, perhaps these cmds were swapped?
[7.0.0+] Input/output for cmds 27/28 were swapped, perhaps these cmds were swapped?
== Cmd26 ==
No input/output.
This sends a request which sets a global flag.
This flag is eventually checked by code which runs via RequestSleep, and in one case with wlan:dtc cmd19 (also used by requests done by nnMain).
== Cmd30 ==
Takes an input s32, no output.
The input s32 must be <=0xE10 (3600) and >= -1. The input value is written into state, then this returns 0.
The user-process code using this cmd also has the above bounds check.
This cmd is used by [[Network_Interface_services|nifm]] with a value from state, prior to using RequestSleep.


= wlan:lcl =
= wlan:lcl =
Line 98: Line 114:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 ||  
| 0 || OpenMasterMode
|-
|-
| 1 ||  
| 1 || CloseMasterMode
|-
|-
| 2 ||  
| 2 || OpenClientMode
|-
|-
| 3 ||  
| 3 || CloseClientMode
|-
|-
| 4 ||  
| 4 || OpenSpectatorMode
|-
|-
| 5 ||  
| 5 || CloseSpectatorMode
|-
|-
| 6 || GetMacAddress
| 6 || GetMacAddress
Line 132: Line 148:
| 16 || SetBeaconLostCount
| 16 || SetBeaconLostCount
|-
|-
| 17 ||  
| 17 || GetSystemEvent
|-
|-
| 18 ||  
| 18 || GetConnectionStatus
|-
|-
| 19 ||  
| 19 || GetClientStatus
|-
|-
| 20 || GetBssIndicationEvent
| 20 || GetBssIndicationEvent
Line 150: Line 166:
| 25 || DeleteIe
| 25 || DeleteIe
|-
|-
| 26 ||  
| 26 || PutFrameRaw
|-
|-
| 27 ||  
| 27 || CancelGetFrame
|-
|-
| 28 || CreateRxEntry
| 28 || CreateRxEntry
Line 158: Line 174:
| 29 || DeleteRxEntry
| 29 || DeleteRxEntry
|-
|-
| 30 ||  
| 30 || AddEthertypeToRxEntry
|-
|-
| 31 ||  
| 31 || DeleteEthertypeFromRxEntry
|-
|-
| 32 || AddMatchingDataToRxEntry
| 32 || AddMatchingDataToRxEntry
Line 168: Line 184:
| 34 || GetScanResult
| 34 || GetScanResult
|-
|-
| 35 ||  
| 35 || PutActionFrameOneShot
|-
|-
| 36 || SetActionFrameWithBeacon
| 36 || SetActionFrameWithBeacon
Line 178: Line 194:
| 39 || DeleteRxEntryForActionFrame
| 39 || DeleteRxEntryForActionFrame
|-
|-
| 40 ||  
| 40 || AddSubtypeToRxEntryForActionFrame
|-
|-
| 41 ||  
| 41 || DeleteSubtypeFromRxEntryForActionFrame
|-
|-
| 42 || CancelGetActionFrame
| 42 || CancelGetActionFrame
Line 186: Line 202:
| 43 || GetRssi
| 43 || GetRssi
|-
|-
| 44 ||  
| 44 || SetMaxAssociationNumber
|-
|-
| 45 || [4.0.0+]
| 45 || [4.0.0+]
Line 226: Line 242:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 ||  
| 0 || GetFrameRaw
|}
|}


Line 236: Line 252:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 ||  
| 0 || GetActionFrame
|}
|}


Line 248: Line 264:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 ||  
| 0 || GetFrameRaw
|}
|}


Line 258: Line 274:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 ||  
| 0 || PutFrameRaw
|-
|-
| 1 ||  
| 1 || CancelGetFrame
|-
|-
| 2 ||  
| 2 || CreateRxEntry
|-
|-
| 3 ||  
| 3 || DeleteRxEntry
|-
|-
| 4 ||  
| 4 || AddEthertypeToRxEntry
|-
|-
| 5 ||  
| 5 || DeleteEthertypeFromRxEntry
|-
|-
| 6 || GetMacAddress
| 6 || GetMacAddress
Line 274: Line 290:
| 7 || SwitchTsfTimerFunction
| 7 || SwitchTsfTimerFunction
|-
|-
| 8 ||  
| 8 || GetDeltaTimeBetweenSystemAndTsf
|-
|-
| 9 ||  
| 9 || RegisterSharedMemory
|-
|-
| 10 ||  
| 10 || UnregisterSharedMemory
|-
|-
| 11 ||  
| 11 || EnableSharedMemory
|-
|-
| 12 || [6.0.0+]
| 12 || [6.0.0+]
Line 286: Line 302:


= wlan:dtc =
= wlan:dtc =
This is "nn::wlan::detail::IDetectManager".
This was added with [6.0.0+].
This was added with [6.0.0+].


Line 382: Line 400:
|-
|-
| [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] || 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
|}
|}