mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 03:06:50 -04:00
staging: rtl8192e: renamed variable MPDU_Density
Coding style issue, checkpatch Avoid CamelCase, rename it. MPDU_Density -> mpdu_density Signed-off-by: Gary Rookard <garyrookard@fastmail.org> Link: https://lore.kernel.org/r/20231206230404.1721-5-garyrookard@fastmail.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
1d7ce9861b
commit
bc36fa00ac
@@ -115,7 +115,7 @@ struct rt_hi_throughput {
|
||||
u8 current_ampdu_enable;
|
||||
u8 ampdu_factor;
|
||||
u8 CurrentAMPDUFactor;
|
||||
u8 MPDU_Density;
|
||||
u8 mpdu_density;
|
||||
u8 current_mpdu_density;
|
||||
enum ht_aggre_mode ForcedAMPDUMode;
|
||||
u8 forced_ampdu_factor;
|
||||
|
||||
@@ -86,7 +86,7 @@ void ht_update_default_setting(struct rtllib_device *ieee)
|
||||
|
||||
ht_info->ampdu_enable = 1;
|
||||
ht_info->ampdu_factor = 2;
|
||||
ht_info->MPDU_Density = 0;
|
||||
ht_info->mpdu_density = 0;
|
||||
|
||||
ht_info->self_mimo_ps = 3;
|
||||
if (ht_info->self_mimo_ps == 2)
|
||||
@@ -525,7 +525,7 @@ void HTOnAssocRsp(struct rtllib_device *ieee)
|
||||
HT_AGG_SIZE_32K);
|
||||
}
|
||||
}
|
||||
ht_info->current_mpdu_density = max_t(u8, ht_info->MPDU_Density,
|
||||
ht_info->current_mpdu_density = max_t(u8, ht_info->mpdu_density,
|
||||
pPeerHTCap->MPDUDensity);
|
||||
if (ht_info->iot_action & HT_IOT_ACT_TX_USE_AMSDU_8K) {
|
||||
ht_info->current_ampdu_enable = false;
|
||||
@@ -570,7 +570,7 @@ void HTInitializeHTInfo(struct rtllib_device *ieee)
|
||||
|
||||
ht_info->bCurrent_AMSDU_Support = false;
|
||||
ht_info->nCurrent_AMSDU_MaxSize = ht_info->amsdu_max_size;
|
||||
ht_info->current_mpdu_density = ht_info->MPDU_Density;
|
||||
ht_info->current_mpdu_density = ht_info->mpdu_density;
|
||||
ht_info->CurrentAMPDUFactor = ht_info->ampdu_factor;
|
||||
|
||||
memset((void *)(&ht_info->SelfHTCap), 0,
|
||||
|
||||
Reference in New Issue
Block a user