Changes between Version 18 and Version 19 of 802.11/wlan_exp/Extending
- Timestamp:
- Dec 17, 2015, 10:17:03 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
802.11/wlan_exp/Extending
v18 v19 145 145 Each high-level MAC application implements its own callback function for handling application-specific user commands. By default these functions are empty. You must modify the C code to implement the behaviors required for your custom command. The code below is for the AP. It is left to the user to implement similar functionality the other MAC applications so that the command works on all types of nodes. 146 146 147 Modify the {{{wlan_exp_ user_ap_process_cmd()}}} function in {{{wlan_mac_ap.c}}}. Start by defining the command ID before the function:147 Modify the {{{wlan_exp_process_user_cmd()}}} function in {{{wlan_mac_ap.c}}}. Start by defining the command ID before the function: 148 148 149 149 {{{#!c