mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 16:07:17 -04:00
Staging: rtl8723bs: fix names in rtw_mlme.h
This commit converts names of structs / enums in include/rtw_mlme.h from ALL_CAPS format to lowercase Signed-off-by: Marco Cesati <marcocesati@gmail.com> Link: https://lore.kernel.org/r/20210317222130.29528-2-marcocesati@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
918ce05bbe
commit
c2e0b9a7a6
@@ -4133,7 +4133,7 @@ Following are some utility functions for WiFi MLME
|
||||
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;
|
||||
|
||||
@@ -445,7 +445,7 @@ static u8 halbtcoutsrc_Get(void *pBtcContext, u8 getType, void *pOutBuf)
|
||||
|
||||
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)
|
||||
|
||||
@@ -81,13 +81,13 @@ enum dot11AuthAlgrthmNum {
|
||||
};
|
||||
|
||||
/* 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,
|
||||
@@ -101,7 +101,7 @@ enum DriverInterface {
|
||||
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. */
|
||||
@@ -134,7 +134,7 @@ struct sitesurvey_ctrl {
|
||||
struct timer_list sitesurvey_ctrl_timer;
|
||||
};
|
||||
|
||||
struct RT_LINK_DETECT_T {
|
||||
struct rt_link_detect_t {
|
||||
u32 NumTxOkInPeriod;
|
||||
u32 NumRxOkInPeriod;
|
||||
u32 NumRxUnicastOkInPeriod;
|
||||
@@ -385,12 +385,12 @@ struct mlme_priv {
|
||||
|
||||
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;
|
||||
|
||||
@@ -419,7 +419,7 @@ struct mlme_ext_info {
|
||||
/* 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);
|
||||
|
||||
Reference in New Issue
Block a user