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 bTxEnableFwCalcDur
Coding style issue, checkpatch Avoid CamelCase, rename it. bTxEnableFwCalcDur -> tx_enable_fw_calc_dur Signed-off-by: Gary Rookard <garyrookard@fastmail.org> Link: https://lore.kernel.org/r/20231206230404.1721-6-garyrookard@fastmail.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
bc36fa00ac
commit
445bdee3ee
@@ -879,7 +879,7 @@ void rtl92e_fill_tx_desc(struct net_device *dev, struct tx_desc *pdesc,
|
||||
memset(pTxFwInfo, 0, sizeof(struct tx_fwinfo_8190pci));
|
||||
pTxFwInfo->TxHT = (cb_desc->data_rate & 0x80) ? 1 : 0;
|
||||
pTxFwInfo->TxRate = _rtl92e_rate_mgn_to_hw(cb_desc->data_rate);
|
||||
pTxFwInfo->EnableCPUDur = cb_desc->bTxEnableFwCalcDur;
|
||||
pTxFwInfo->EnableCPUDur = cb_desc->tx_enable_fw_calc_dur;
|
||||
pTxFwInfo->Short = _rtl92e_query_is_short(pTxFwInfo->TxHT,
|
||||
pTxFwInfo->TxRate, cb_desc);
|
||||
|
||||
|
||||
@@ -1189,7 +1189,7 @@ static int _rtl92e_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
|
||||
tcb_desc->ratr_index = 7;
|
||||
tcb_desc->tx_dis_rate_fallback = 1;
|
||||
tcb_desc->tx_use_drv_assinged_rate = 1;
|
||||
tcb_desc->bTxEnableFwCalcDur = 1;
|
||||
tcb_desc->tx_enable_fw_calc_dur = 1;
|
||||
skb_push(skb, priv->rtllib->tx_headroom);
|
||||
ret = _rtl92e_tx(dev, skb);
|
||||
if (ret != 0)
|
||||
|
||||
@@ -94,7 +94,7 @@ void ht_update_default_setting(struct rtllib_device *ieee)
|
||||
ieee->tx_dis_rate_fallback = 0;
|
||||
ieee->tx_use_drv_assinged_rate = 0;
|
||||
|
||||
ieee->bTxEnableFwCalcDur = 1;
|
||||
ieee->tx_enable_fw_calc_dur = 1;
|
||||
|
||||
ht_info->reg_rt2rt_aggregation = 1;
|
||||
|
||||
|
||||
@@ -117,7 +117,7 @@ struct cb_desc {
|
||||
u8 bRTSEnable:1;
|
||||
u8 bUseShortGI:1;
|
||||
u8 bUseShortPreamble:1;
|
||||
u8 bTxEnableFwCalcDur:1;
|
||||
u8 tx_enable_fw_calc_dur:1;
|
||||
u8 ampdu_enable:1;
|
||||
u8 bRTSSTBC:1;
|
||||
u8 RTSSC:1;
|
||||
@@ -1223,7 +1223,7 @@ struct rtllib_device {
|
||||
u8 HTHighestOperaRate;
|
||||
u8 tx_dis_rate_fallback;
|
||||
u8 tx_use_drv_assinged_rate;
|
||||
u8 bTxEnableFwCalcDur;
|
||||
u8 tx_enable_fw_calc_dur;
|
||||
atomic_t atm_swbw;
|
||||
|
||||
struct list_head Tx_TS_Admit_List;
|
||||
|
||||
@@ -847,7 +847,7 @@ static int rtllib_xmit_inter(struct sk_buff *skb, struct net_device *dev)
|
||||
if (txb) {
|
||||
tcb_desc = (struct cb_desc *)
|
||||
(txb->fragments[0]->cb + MAX_DEV_ADDR_SIZE);
|
||||
tcb_desc->bTxEnableFwCalcDur = 1;
|
||||
tcb_desc->tx_enable_fw_calc_dur = 1;
|
||||
tcb_desc->priority = skb->priority;
|
||||
|
||||
if (ether_type == ETH_P_PAE) {
|
||||
|
||||
Reference in New Issue
Block a user