staging:rtl8192u: Rename member variables - Style
Rename the member variables FragNum and SeqNum. This change clears a checkpatch issue with CamelCase naming. This is a coding style change and should have no impact on runtime code execution. Signed-off-by: John Whitmore <johnfwhitmore@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
56f6e5a7e4
commit
198a136f7f
|
@ -342,7 +342,7 @@ static void ieee80211_tx_query_agg_cap(struct ieee80211_device *ieee,
|
||||||
}
|
}
|
||||||
else if (!pTxTs->using_ba)
|
else if (!pTxTs->using_ba)
|
||||||
{
|
{
|
||||||
if (SN_LESS(pTxTs->tx_admitted_ba_record.BaStartSeqCtrl.field.SeqNum, (pTxTs->tx_cur_seq + 1) % 4096))
|
if (SN_LESS(pTxTs->tx_admitted_ba_record.BaStartSeqCtrl.field.seq_num, (pTxTs->tx_cur_seq + 1) % 4096))
|
||||||
pTxTs->using_ba = true;
|
pTxTs->using_ba = true;
|
||||||
else
|
else
|
||||||
goto FORCED_AGG_SETTING;
|
goto FORCED_AGG_SETTING;
|
||||||
|
|
|
@ -25,8 +25,8 @@ struct ieee80211_ADDBA_Req{
|
||||||
union sequence_control {
|
union sequence_control {
|
||||||
u16 short_data;
|
u16 short_data;
|
||||||
struct {
|
struct {
|
||||||
u16 FragNum:4;
|
u16 frag_num:4;
|
||||||
u16 SeqNum:12;
|
u16 seq_num:12;
|
||||||
} field;
|
} field;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -630,7 +630,7 @@ TsInitAddBA(
|
||||||
// BufferSize: This need to be set according to A-MPDU vector
|
// BufferSize: This need to be set according to A-MPDU vector
|
||||||
pBA->BaParamSet.field.BufferSize = 32; // BufferSize: This need to be set according to A-MPDU vector
|
pBA->BaParamSet.field.BufferSize = 32; // BufferSize: This need to be set according to A-MPDU vector
|
||||||
pBA->BaTimeoutValue = 0; // Timeout value: Set 0 to disable Timer
|
pBA->BaTimeoutValue = 0; // Timeout value: Set 0 to disable Timer
|
||||||
pBA->BaStartSeqCtrl.field.SeqNum = (pTS->tx_cur_seq + 3) % 4096; // Block Ack will start after 3 packets later.
|
pBA->BaStartSeqCtrl.field.seq_num = (pTS->tx_cur_seq + 3) % 4096; // Block Ack will start after 3 packets later.
|
||||||
|
|
||||||
ActivateBAEntry(ieee, pBA, BA_SETUP_TIMEOUT);
|
ActivateBAEntry(ieee, pBA, BA_SETUP_TIMEOUT);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue