void site_survey(struct adapter *padapter)
{
unsigned char survey_channel = 0, val8;
- enum RT_SCAN_TYPE ScanType = SCAN_PASSIVE;
+ enum rt_scan_type ScanType = SCAN_PASSIVE;
struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv;
struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info);
u32 initialgain = 0;
case BTC_GET_U4_WIFI_TRAFFIC_DIRECTION:
{
- struct RT_LINK_DETECT_T *plinkinfo;
+ struct rt_link_detect_t *plinkinfo;
plinkinfo = &padapter->mlmepriv.LinkDetectInfo;
if (plinkinfo->NumTxOkInPeriod > plinkinfo->NumRxOkInPeriod)
};
/* Scan type including active and passive scan. */
-enum RT_SCAN_TYPE {
+enum rt_scan_type {
SCAN_PASSIVE,
SCAN_ACTIVE,
SCAN_MIX,
};
-enum _BAND {
+enum _band {
GHZ24_50 = 0,
GHZ_50,
GHZ_24,
DRIVER_CFG80211 = 2
};
-enum SCAN_RESULT_TYPE {
+enum scan_result_type {
SCAN_RESULT_P2P_ONLY = 0, /* Will return all the P2P devices. */
SCAN_RESULT_ALL = 1, /* Will return all the scanned device, include AP. */
SCAN_RESULT_WFD_TYPE = 2 /* Will just return the correct WFD device. */
struct timer_list sitesurvey_ctrl_timer;
};
-struct RT_LINK_DETECT_T {
+struct rt_link_detect_t {
u32 NumTxOkInPeriod;
u32 NumRxOkInPeriod;
u32 NumRxUnicastOkInPeriod;
struct ht_priv htpriv;
- struct RT_LINK_DETECT_T LinkDetectInfo;
+ struct rt_link_detect_t LinkDetectInfo;
struct timer_list dynamic_chk_timer; /* dynamic/periodic check timer */
u8 acm_mask; /* for wmm acm mask */
u8 ChannelPlan;
- enum RT_SCAN_TYPE scan_mode; /* active: 1, passive: 0 */
+ enum rt_scan_type scan_mode; /* active: 1, passive: 0 */
u8 *wps_probe_req_ie;
u32 wps_probe_req_ie_len;
/* The channel information about this channel including joining, scanning, and power constraints. */
struct RT_CHANNEL_INFO {
u8 ChannelNum; /* The channel number. */
- enum RT_SCAN_TYPE ScanType; /* Scan type such as passive or active scan. */
+ enum rt_scan_type ScanType; /* Scan type such as passive or active scan. */
};
int rtw_ch_set_search_ch(struct RT_CHANNEL_INFO *ch_set, const u32 ch);