]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: rtl8723bs: rename add_RATid to add_ratid
authorEthan Tidmore <ethantidmore06@gmail.com>
Sat, 24 Jan 2026 01:33:50 +0000 (19:33 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Jan 2026 14:45:05 +0000 (15:45 +0100)
Rename add_RATid to add_ratid to align with kernel code style.

Signed-off-by: Ethan Tidmore <ethantidmore06@gmail.com>
Link: https://patch.msgid.link/20260124013350.33769-1-ethantidmore06@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_ap.c
drivers/staging/rtl8723bs/hal/hal_intf.c
drivers/staging/rtl8723bs/include/rtw_ap.h

index 3ff5daf1e5aa4361a182f60bbec184dfff258620..477fe238add40c670b6064d9846c841368e22462 100644 (file)
@@ -318,7 +318,7 @@ void expire_timeout_chk(struct adapter *padapter)
        associated_clients_update(padapter, updated);
 }
 
-void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level)
+void add_ratid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level)
 {
        unsigned char sta_band = 0, short_gi_rate = false;
        unsigned int tx_ra_bitmap = 0;
@@ -391,7 +391,7 @@ void update_bmc_sta(struct adapter *padapter)
 
                memset((void *)&psta->sta_stats, 0, sizeof(struct stainfo_stats));
 
-               /* prepare for add_RATid */
+               /* prepare for add_ratid */
                support_rate_num = rtw_get_rateset_len((u8 *)&pcur_network->supported_rates);
                network_type = rtw_check_network_type((u8 *)&pcur_network->supported_rates,
                                                      support_rate_num,
@@ -549,7 +549,7 @@ void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta)
        memset((void *)&psta->sta_stats, 0, sizeof(struct stainfo_stats));
 
        /* add ratid */
-       /* add_RATid(padapter, psta);//move to ap_sta_info_defer_update() */
+       /* add_ratid(padapter, psta); move to ap_sta_info_defer_update() */
 
        spin_lock_bh(&psta->lock);
        psta->state |= _FW_LINKED;
@@ -1947,7 +1947,7 @@ void ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta)
                pmlmeinfo->FW_sta_info[psta->mac_id].psta = psta;
 
                /* add ratid */
-               add_RATid(padapter, psta, 0);/* DM_RATR_STA_INIT */
+               add_ratid(padapter, psta, 0);/* DM_RATR_STA_INIT */
        }
 }
 
index 462553d296ffd839f57e5f32e6e42f3de953c5d7..4ca950ff20ade382ed72348377b16d16da524f1b 100644 (file)
@@ -207,7 +207,7 @@ void rtw_hal_update_ra_mask(struct sta_info *psta, u8 rssi_level)
        pmlmepriv = &(padapter->mlmepriv);
 
        if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true)
-               add_RATid(padapter, psta, rssi_level);
+               add_ratid(padapter, psta, rssi_level);
        else {
                UpdateHalRAMask8723B(padapter, psta->mac_id, rssi_level);
        }
index 7a735e691399c8ccf3b68fdbb0689896e774a05c..83e835eb6513fce5f899e0144ca8077d27cdf5e3 100644 (file)
@@ -11,7 +11,7 @@ void init_mlme_ap_info(struct adapter *padapter);
 void free_mlme_ap_info(struct adapter *padapter);
 /* void update_BCNTIM(struct adapter *padapter); */
 void update_beacon(struct adapter *padapter, u8 ie_id, u8 *oui, u8 tx);
-void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level);
+void add_ratid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level);
 void expire_timeout_chk(struct adapter *padapter);
 void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta);
 void start_bss_network(struct adapter *padapter);