Line 120:
Line 120:
WD_SetLinkState might change which "mode"/"state" is used; 0 for Infrastructure, 1 for Ad-Hoc?
WD_SetLinkState might change which "mode"/"state" is used; 0 for Infrastructure, 1 for Ad-Hoc?
+
+
The state is set to the mode, upon the initial open. For Infrastructure mode, mode should be 3, while for Ad-Hoc this should be 1? Initial open meaning the first open after the device is closed, or after a IOS_Reload, without net_init being called.
Configuration and info structs:
Configuration and info structs:
Line 215:
Line 217:
| EINVAL
| EINVAL
| Invalid input
| Invalid input
+
|-
+
| -0x8002
+
| ?
+
| Invalid state
+
|-
+
| -0x8003
+
| ?
+
| WL error
|}
|}