mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-19 11:33:05 +00:00
rtl8188eu: Remove CONFIG_DFS - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
5b066f3c11
commit
c7c446f21a
3 changed files with 0 additions and 99 deletions
|
@ -1324,36 +1324,6 @@ void update_beacon_info(_adapter *padapter, u8 *pframe, uint pkt_len, struct sta
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef CONFIG_DFS
|
||||
void process_csa_ie(_adapter *padapter, u8 *pframe, uint pkt_len)
|
||||
{
|
||||
unsigned int i;
|
||||
unsigned int len;
|
||||
PNDIS_802_11_VARIABLE_IEs pIE;
|
||||
u8 new_ch_no = 0;
|
||||
|
||||
len = pkt_len - (_BEACON_IE_OFFSET_ + WLAN_HDR_A3_LEN);
|
||||
|
||||
for (i = 0; i < len;)
|
||||
{
|
||||
pIE = (PNDIS_802_11_VARIABLE_IEs)(pframe + (_BEACON_IE_OFFSET_ + WLAN_HDR_A3_LEN) + i);
|
||||
|
||||
switch (pIE->ElementID)
|
||||
{
|
||||
case _CH_SWTICH_ANNOUNCE_:
|
||||
_rtw_memcpy(&new_ch_no, pIE->data+1, 1);
|
||||
rtw_set_csa_cmd(padapter, new_ch_no);
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
i += (pIE->Length + 2);
|
||||
}
|
||||
}
|
||||
#endif /* CONFIG_DFS */
|
||||
|
||||
unsigned int is_ap_in_tkip(_adapter *padapter)
|
||||
{
|
||||
u32 i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue