mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-22 13:24:36 +00:00
Fox a kernel trace with hostapd + A minor tweak to 'dkms-install.sh'
This commit is contained in:
parent
d415163096
commit
968d16bb56
@ -592,7 +592,7 @@ void set_channel_bwmode(_adapter *padapter, unsigned char channel, unsigned char
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (padapter->bNotifyChannelChange)
|
if (padapter->bNotifyChannelChange)
|
||||||
RTW_INFO("[%s] ch = %d, offset = %d, bwmode = %d\n", __FUNCTION__, channel, channel_offset, bwmode);
|
RTW_INFO("[%s] ch = %d, offset = %d, bwmode = %d\n", __func__, channel, channel_offset, bwmode);
|
||||||
|
|
||||||
center_ch = rtw_get_center_ch(channel, bwmode, channel_offset);
|
center_ch = rtw_get_center_ch(channel, bwmode, channel_offset);
|
||||||
|
|
||||||
@ -2074,7 +2074,7 @@ void HTOnAssocRsp(_adapter *padapter)
|
|||||||
struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv;
|
struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv;
|
||||||
struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info);
|
struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info);
|
||||||
|
|
||||||
RTW_INFO("%s\n", __FUNCTION__);
|
RTW_INFO("%s\n", __func__);
|
||||||
|
|
||||||
if ((pmlmeinfo->HT_info_enable) && (pmlmeinfo->HT_caps_enable))
|
if ((pmlmeinfo->HT_info_enable) && (pmlmeinfo->HT_caps_enable))
|
||||||
pmlmeinfo->HT_enable = 1;
|
pmlmeinfo->HT_enable = 1;
|
||||||
@ -2133,7 +2133,7 @@ void HTOnAssocRsp(_adapter *padapter)
|
|||||||
for (i = 0; i < 16; i++)
|
for (i = 0; i < 16; i++)
|
||||||
pmlmeinfo->HT_caps.HT_cap_element.MCS_rate[i] &= MCS_rate_1R[i];
|
pmlmeinfo->HT_caps.HT_cap_element.MCS_rate[i] &= MCS_rate_1R[i];
|
||||||
#endif
|
#endif
|
||||||
RTW_INFO("%s(): WLAN_HT_CAP_SM_PS_STATIC\n", __FUNCTION__);
|
RTW_INFO("%s(): WLAN_HT_CAP_SM_PS_STATIC\n", __func__);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* */
|
/* */
|
||||||
@ -3667,7 +3667,7 @@ inline bool rtw_macid_is_set(struct macid_bmp *map, u8 id)
|
|||||||
return map->m3 & BIT(id - 96);
|
return map->m3 & BIT(id - 96);
|
||||||
#endif
|
#endif
|
||||||
else
|
else
|
||||||
rtw_warn_on(1);
|
//rtw_warn_on(1);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@ DRV_DIR="$(pwd)"
|
|||||||
DRV_NAME=rtl8812au
|
DRV_NAME=rtl8812au
|
||||||
DRV_VERSION=5.6.4.2
|
DRV_VERSION=5.6.4.2
|
||||||
|
|
||||||
cp -r ${DRV_DIR} /usr/src/${DRV_NAME}-${DRV_VERSION}
|
cp -r $(pwd) /usr/src/${DRV_NAME}-${DRV_VERSION}
|
||||||
|
|
||||||
dkms add -m ${DRV_NAME} -v ${DRV_VERSION}
|
dkms add -m ${DRV_NAME} -v ${DRV_VERSION}
|
||||||
dkms build -m ${DRV_NAME} -v ${DRV_VERSION}
|
dkms build -m ${DRV_NAME} -v ${DRV_VERSION}
|
||||||
|
Loading…
Reference in New Issue
Block a user