chore: sdk compiles almost w/o warnings?
This commit is contained in:
@@ -1400,6 +1400,7 @@ void wext_set_low_power_mode(__u8 enable)
|
||||
}
|
||||
#endif
|
||||
|
||||
extern int rltk_get_auto_chl(const char *ifname, unsigned char *channel_set, unsigned char channel_num);
|
||||
int wext_get_auto_chl(const char *ifname, unsigned char *channel_set, unsigned char channel_num)
|
||||
{
|
||||
int ret = -1;
|
||||
@@ -1411,11 +1412,13 @@ int wext_get_auto_chl(const char *ifname, unsigned char *channel_set, unsigned c
|
||||
return ret;
|
||||
}
|
||||
|
||||
extern int rltk_set_sta_num(unsigned char ap_sta_num);
|
||||
int wext_set_sta_num(unsigned char ap_sta_num)
|
||||
{
|
||||
return rltk_set_sta_num(ap_sta_num);
|
||||
}
|
||||
|
||||
extern int rltk_del_station(const char *ifname, unsigned char* hwaddr);
|
||||
int wext_del_station(const char *ifname, unsigned char* hwaddr)
|
||||
{
|
||||
return rltk_del_station(ifname, hwaddr);
|
||||
@@ -1506,13 +1509,15 @@ void wext_set_indicate_mgnt(int enable)
|
||||
|
||||
void wext_set_sigstat_fast_enable(int enable)
|
||||
{
|
||||
rtw_set_sigstat_fast_enable(enable);
|
||||
// TODO: doesn't exist in lib_wlan
|
||||
// rtw_set_sigstat_fast_enable(enable);
|
||||
return;
|
||||
}
|
||||
|
||||
void wext_set_lowrssi_use_b(int enable,int rssi)
|
||||
{
|
||||
rtw_set_lowrssi_use_b(enable,rssi);
|
||||
// TODO: doesn't exist in lib_wlan
|
||||
// rtw_set_lowrssi_use_b(enable,rssi);
|
||||
return ;
|
||||
}
|
||||
#ifdef CONFIG_AP_MODE
|
||||
@@ -1533,14 +1538,17 @@ void wext_suspend_softap_beacon(const char *ifname)
|
||||
}
|
||||
void wext_resume_softap(const char *ifname)
|
||||
{
|
||||
rltk_resume_softap(ifname);
|
||||
// TODO: doesn't exist in lib_wlan
|
||||
// rltk_resume_softap(ifname);
|
||||
}
|
||||
// extern int rtw_ap_switch_chl_and_inform(unsigned char new_channel);
|
||||
int wext_ap_switch_chl_and_inform(unsigned char new_channel)
|
||||
{
|
||||
if(rtw_ap_switch_chl_and_inform(new_channel))
|
||||
// TODO: doesn't exist in lib_wlan
|
||||
// if(rtw_ap_switch_chl_and_inform(new_channel))
|
||||
return RTW_SUCCESS;
|
||||
else
|
||||
return RTW_ERROR;
|
||||
// else
|
||||
// return RTW_ERROR;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user