First actions to send managements frame into data channel
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
#include "capwap_hash.h"
|
||||
#include "capwap_list.h"
|
||||
#include "wtp_radio.h"
|
||||
#include "wtp_dfa.h"
|
||||
|
||||
/* */
|
||||
#define WTP_UPDATE_FREQUENCY_DSSS 1
|
||||
@ -51,13 +52,14 @@ static int wtp_radio_configure_phy(struct wtp_radio* radio) {
|
||||
|
||||
/* */
|
||||
static void wtp_radio_send_mgmtframe_to_ac(void* param, const struct ieee80211_header_mgmt* mgmt, int mgmtlength, int leavenativeframe) {
|
||||
//struct wtp_radio_wlan* wlan = (struct wtp_radio_wlan*)mgmt;
|
||||
struct wtp_radio_wlan* wlan = (struct wtp_radio_wlan*)param;
|
||||
|
||||
ASSERT(param != NULL);
|
||||
ASSERT(mgmt != NULL);
|
||||
ASSERT(mgmtlength > sizeof(struct ieee80211_header_mgmt));
|
||||
ASSERT(mgmtlength >= sizeof(struct ieee80211_header));
|
||||
|
||||
/* TODO */
|
||||
/* Send packet */
|
||||
wtp_send_data_wireless_packet(wlan->radio->radioid, wlan->wlanid, mgmt, mgmtlength, leavenativeframe);
|
||||
}
|
||||
|
||||
/* */
|
||||
|
Reference in New Issue
Block a user