mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
ath9k: remove set11n_virtualmorefrag
This does not seems to be used anywhere so remove it. Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
b64c6a3d1a
commit
468b0d4482
4 changed files with 0 additions and 32 deletions
|
@ -415,17 +415,6 @@ static void ar9002_hw_set11n_burstduration(struct ath_hw *ah, void *ds,
|
||||||
ads->ds_ctl2 |= SM(burstDuration, AR_BurstDur);
|
ads->ds_ctl2 |= SM(burstDuration, AR_BurstDur);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ar9002_hw_set11n_virtualmorefrag(struct ath_hw *ah, void *ds,
|
|
||||||
u32 vmf)
|
|
||||||
{
|
|
||||||
struct ar5416_desc *ads = AR5416DESC(ds);
|
|
||||||
|
|
||||||
if (vmf)
|
|
||||||
ads->ds_ctl0 |= AR_VirtMoreFrag;
|
|
||||||
else
|
|
||||||
ads->ds_ctl0 &= ~AR_VirtMoreFrag;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ath9k_hw_setuprxdesc(struct ath_hw *ah, struct ath_desc *ds,
|
void ath9k_hw_setuprxdesc(struct ath_hw *ah, struct ath_desc *ds,
|
||||||
u32 size, u32 flags)
|
u32 size, u32 flags)
|
||||||
{
|
{
|
||||||
|
@ -459,5 +448,4 @@ void ar9002_hw_attach_mac_ops(struct ath_hw *ah)
|
||||||
ops->set11n_aggr_last = ar9002_hw_set11n_aggr_last;
|
ops->set11n_aggr_last = ar9002_hw_set11n_aggr_last;
|
||||||
ops->clr11n_aggr = ar9002_hw_clr11n_aggr;
|
ops->clr11n_aggr = ar9002_hw_clr11n_aggr;
|
||||||
ops->set11n_burstduration = ar9002_hw_set11n_burstduration;
|
ops->set11n_burstduration = ar9002_hw_set11n_burstduration;
|
||||||
ops->set11n_virtualmorefrag = ar9002_hw_set11n_virtualmorefrag;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -485,17 +485,6 @@ static void ar9003_hw_set11n_burstduration(struct ath_hw *ah, void *ds,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ar9003_hw_set11n_virtualmorefrag(struct ath_hw *ah, void *ds,
|
|
||||||
u32 vmf)
|
|
||||||
{
|
|
||||||
struct ar9003_txc *ads = (struct ar9003_txc *) ds;
|
|
||||||
|
|
||||||
if (vmf)
|
|
||||||
ads->ctl11 |= AR_VirtMoreFrag;
|
|
||||||
else
|
|
||||||
ads->ctl11 &= ~AR_VirtMoreFrag;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ar9003_hw_set_paprd_txdesc(struct ath_hw *ah, void *ds, u8 chains)
|
void ar9003_hw_set_paprd_txdesc(struct ath_hw *ah, void *ds, u8 chains)
|
||||||
{
|
{
|
||||||
struct ar9003_txc *ads = ds;
|
struct ar9003_txc *ads = ds;
|
||||||
|
@ -521,7 +510,6 @@ void ar9003_hw_attach_mac_ops(struct ath_hw *hw)
|
||||||
ops->set11n_aggr_last = ar9003_hw_set11n_aggr_last;
|
ops->set11n_aggr_last = ar9003_hw_set11n_aggr_last;
|
||||||
ops->clr11n_aggr = ar9003_hw_clr11n_aggr;
|
ops->clr11n_aggr = ar9003_hw_clr11n_aggr;
|
||||||
ops->set11n_burstduration = ar9003_hw_set11n_burstduration;
|
ops->set11n_burstduration = ar9003_hw_set11n_burstduration;
|
||||||
ops->set11n_virtualmorefrag = ar9003_hw_set11n_virtualmorefrag;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ath9k_hw_set_rx_bufsize(struct ath_hw *ah, u16 buf_size)
|
void ath9k_hw_set_rx_bufsize(struct ath_hw *ah, u16 buf_size)
|
||||||
|
|
|
@ -122,12 +122,6 @@ static inline void ath9k_hw_set11n_burstduration(struct ath_hw *ah, void *ds,
|
||||||
ath9k_hw_ops(ah)->set11n_burstduration(ah, ds, burstDuration);
|
ath9k_hw_ops(ah)->set11n_burstduration(ah, ds, burstDuration);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void ath9k_hw_set11n_virtualmorefrag(struct ath_hw *ah, void *ds,
|
|
||||||
u32 vmf)
|
|
||||||
{
|
|
||||||
ath9k_hw_ops(ah)->set11n_virtualmorefrag(ah, ds, vmf);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Private hardware call ops */
|
/* Private hardware call ops */
|
||||||
|
|
||||||
/* PHY ops */
|
/* PHY ops */
|
||||||
|
|
|
@ -628,8 +628,6 @@ struct ath_hw_ops {
|
||||||
void (*clr11n_aggr)(struct ath_hw *ah, void *ds);
|
void (*clr11n_aggr)(struct ath_hw *ah, void *ds);
|
||||||
void (*set11n_burstduration)(struct ath_hw *ah, void *ds,
|
void (*set11n_burstduration)(struct ath_hw *ah, void *ds,
|
||||||
u32 burstDuration);
|
u32 burstDuration);
|
||||||
void (*set11n_virtualmorefrag)(struct ath_hw *ah, void *ds,
|
|
||||||
u32 vmf);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ath_nf_limits {
|
struct ath_nf_limits {
|
||||||
|
|
Loading…
Reference in a new issue