Commit bc36fa00 authored by Gary Rookard's avatar Gary Rookard Committed by Greg Kroah-Hartman

staging: rtl8192e: renamed variable MPDU_Density

Coding style issue, checkpatch Avoid CamelCase,
rename it. MPDU_Density -> mpdu_density
Signed-off-by: default avatarGary Rookard <garyrookard@fastmail.org>
Link: https://lore.kernel.org/r/20231206230404.1721-5-garyrookard@fastmail.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1d7ce986
...@@ -115,7 +115,7 @@ struct rt_hi_throughput { ...@@ -115,7 +115,7 @@ struct rt_hi_throughput {
u8 current_ampdu_enable; u8 current_ampdu_enable;
u8 ampdu_factor; u8 ampdu_factor;
u8 CurrentAMPDUFactor; u8 CurrentAMPDUFactor;
u8 MPDU_Density; u8 mpdu_density;
u8 current_mpdu_density; u8 current_mpdu_density;
enum ht_aggre_mode ForcedAMPDUMode; enum ht_aggre_mode ForcedAMPDUMode;
u8 forced_ampdu_factor; u8 forced_ampdu_factor;
......
...@@ -86,7 +86,7 @@ void ht_update_default_setting(struct rtllib_device *ieee) ...@@ -86,7 +86,7 @@ void ht_update_default_setting(struct rtllib_device *ieee)
ht_info->ampdu_enable = 1; ht_info->ampdu_enable = 1;
ht_info->ampdu_factor = 2; ht_info->ampdu_factor = 2;
ht_info->MPDU_Density = 0; ht_info->mpdu_density = 0;
ht_info->self_mimo_ps = 3; ht_info->self_mimo_ps = 3;
if (ht_info->self_mimo_ps == 2) if (ht_info->self_mimo_ps == 2)
...@@ -525,7 +525,7 @@ void HTOnAssocRsp(struct rtllib_device *ieee) ...@@ -525,7 +525,7 @@ void HTOnAssocRsp(struct rtllib_device *ieee)
HT_AGG_SIZE_32K); 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); pPeerHTCap->MPDUDensity);
if (ht_info->iot_action & HT_IOT_ACT_TX_USE_AMSDU_8K) { if (ht_info->iot_action & HT_IOT_ACT_TX_USE_AMSDU_8K) {
ht_info->current_ampdu_enable = false; ht_info->current_ampdu_enable = false;
...@@ -570,7 +570,7 @@ void HTInitializeHTInfo(struct rtllib_device *ieee) ...@@ -570,7 +570,7 @@ void HTInitializeHTInfo(struct rtllib_device *ieee)
ht_info->bCurrent_AMSDU_Support = false; ht_info->bCurrent_AMSDU_Support = false;
ht_info->nCurrent_AMSDU_MaxSize = ht_info->amsdu_max_size; 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; ht_info->CurrentAMPDUFactor = ht_info->ampdu_factor;
memset((void *)(&ht_info->SelfHTCap), 0, memset((void *)(&ht_info->SelfHTCap), 0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment