forward action frames from STAs to AC
This commit is contained in:
parent
6dcf8fa350
commit
4068f7d308
@ -1226,6 +1226,17 @@ wifi_wlan_receive_station_mgmt_deauthentication(struct wifi_wlan* wlan,
|
|||||||
wifi_wlan_send_frame(wlan, (uint8_t*)frame, length, rssi, snr, rate);
|
wifi_wlan_send_frame(wlan, (uint8_t*)frame, length, rssi, snr, rate);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* */
|
||||||
|
static void
|
||||||
|
wifi_wlan_receive_station_mgmt_action(struct wifi_wlan* wlan,
|
||||||
|
const struct ieee80211_header_mgmt* frame,
|
||||||
|
int length, uint8_t rssi,
|
||||||
|
uint8_t snr, uint16_t rate)
|
||||||
|
{
|
||||||
|
log_hexdump(LOG_DEBUG, "Wifi ACTION FRAME", (uint8_t *)frame, length);
|
||||||
|
wifi_wlan_send_frame(wlan, (uint8_t *)frame, length, rssi, snr, rate);
|
||||||
|
}
|
||||||
|
|
||||||
/* */
|
/* */
|
||||||
static void
|
static void
|
||||||
wifi_wlan_receive_station_mgmt_frame(struct wifi_wlan* wlan,
|
wifi_wlan_receive_station_mgmt_frame(struct wifi_wlan* wlan,
|
||||||
@ -1278,7 +1289,8 @@ wifi_wlan_receive_station_mgmt_frame(struct wifi_wlan* wlan,
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case IEEE80211_FRAMECONTROL_MGMT_SUBTYPE_ACTION:
|
case IEEE80211_FRAMECONTROL_MGMT_SUBTYPE_ACTION:
|
||||||
/* TODO */
|
wifi_wlan_receive_station_mgmt_action(wlan, frame, length,
|
||||||
|
rssi, snr, rate);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user