Changes between Version 18 and Version 19 of 802.11/wlan_exp/Extending


Ignore:
Timestamp:
Dec 17, 2015, 10:17:03 AM (8 years ago)
Author:
chunter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 802.11/wlan_exp/Extending

    v18 v19  
    145145Each 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.
    146146
    147 Modify the {{{wlan_exp_user_ap_process_cmd()}}} function in {{{wlan_mac_ap.c}}}. Start by defining the command ID before the function:
     147Modify the {{{wlan_exp_process_user_cmd()}}} function in {{{wlan_mac_ap.c}}}. Start by defining the command ID before the function:
    148148
    149149{{{#!c