mirror of
https://github.com/proski/madwifi
synced 2024-11-24 23:40:00 +03:00
Fix typos found by codespell
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4166 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
2fc801acdb
commit
5890429464
@ -2677,7 +2677,7 @@ ath_bmiss_tasklet(TQUEUE_ARG data)
|
|||||||
struct ath_softc *sc = netdev_priv(dev);
|
struct ath_softc *sc = netdev_priv(dev);
|
||||||
|
|
||||||
if (time_before(jiffies, sc->sc_ic.ic_bmiss_guard)) {
|
if (time_before(jiffies, sc->sc_ic.ic_bmiss_guard)) {
|
||||||
/* Beacon miss interrupt occured too short after last beacon
|
/* Beacon miss interrupt occurred too short after last beacon
|
||||||
* timer configuration. Ignore it as it could be spurious. */
|
* timer configuration. Ignore it as it could be spurious. */
|
||||||
DPRINTF(sc, ATH_DEBUG_ANY, "Beacon miss ignored\n");
|
DPRINTF(sc, ATH_DEBUG_ANY, "Beacon miss ignored\n");
|
||||||
} else {
|
} else {
|
||||||
@ -10821,7 +10821,7 @@ ath_distance2timeout(struct ath_softc *sc, int distance)
|
|||||||
* being very careful or taking something into account that I can't
|
* being very careful or taking something into account that I can't
|
||||||
* find in the specs.
|
* find in the specs.
|
||||||
*
|
*
|
||||||
* XXX: Update based on emperical evidence (potentially save 15us per
|
* XXX: Update based on empirical evidence (potentially save 15us per
|
||||||
* timeout). */
|
* timeout). */
|
||||||
return ath_slottime2timeout(sc, ath_distance2slottime(sc, distance));
|
return ath_slottime2timeout(sc, ath_distance2slottime(sc, distance));
|
||||||
}
|
}
|
||||||
|
@ -165,7 +165,7 @@ ath_hw_beacon_stop(struct ath_softc *sc) {
|
|||||||
* of beacon timer configuration (which we try to avoid) and due to unlucky
|
* of beacon timer configuration (which we try to avoid) and due to unlucky
|
||||||
* timing of local TSF updates (triggered by the reception of a beacon with the
|
* timing of local TSF updates (triggered by the reception of a beacon with the
|
||||||
* same BSSID - something we can't avoid) the beacon timers can be up updated
|
* same BSSID - something we can't avoid) the beacon timers can be up updated
|
||||||
* seperately, leaving one of them in the past, not beeing updated until the
|
* separately, leaving one of them in the past, not beeing updated until the
|
||||||
* timers wrap around. due to the fact that the beacon interval does not fit
|
* timers wrap around. due to the fact that the beacon interval does not fit
|
||||||
* into the timer period (16 bit) a whole number of times the size of the ATIM
|
* into the timer period (16 bit) a whole number of times the size of the ATIM
|
||||||
* window can get bigger than desired.
|
* window can get bigger than desired.
|
||||||
|
@ -701,7 +701,7 @@ struct ath_softc {
|
|||||||
unsigned int sc_useintmit:1; /* Interference mitigation enabled? */
|
unsigned int sc_useintmit:1; /* Interference mitigation enabled? */
|
||||||
unsigned int sc_txcont:1; /* Is continuous transmit enabled? */
|
unsigned int sc_txcont:1; /* Is continuous transmit enabled? */
|
||||||
unsigned int sc_dfs_testmode:1; /* IF this is on, AP vaps will stay in
|
unsigned int sc_dfs_testmode:1; /* IF this is on, AP vaps will stay in
|
||||||
* 'channel availability check' indefinately,
|
* 'channel availability check' indefinitely,
|
||||||
* reporting radar and interference detections. */
|
* reporting radar and interference detections. */
|
||||||
unsigned int sc_dmasize_stomp:1; /* Whether to stomp on DMA size. */
|
unsigned int sc_dmasize_stomp:1; /* Whether to stomp on DMA size. */
|
||||||
|
|
||||||
|
@ -151,7 +151,7 @@ ath_hal_computetxtime(struct ath_hal *ah,
|
|||||||
|
|
||||||
kbps = rates->info[rateix].rateKbps;
|
kbps = rates->info[rateix].rateKbps;
|
||||||
/*
|
/*
|
||||||
* index can be invalid duting dynamic Turbo transitions.
|
* index can be invalid during dynamic Turbo transitions.
|
||||||
*/
|
*/
|
||||||
if(kbps == 0) return 0;
|
if(kbps == 0) return 0;
|
||||||
switch (rates->info[rateix].phy) {
|
switch (rates->info[rateix].phy) {
|
||||||
|
@ -2361,7 +2361,7 @@ IS_BIT_SET(int bit, const uint64_t bitmask[])
|
|||||||
return (bitmask[byteOffset] & val) != 0;
|
return (bitmask[byteOffset] & val) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Add given regclassid into regclassids array upto max of maxregids */
|
/* Add given regclassid into regclassids array up to max of maxregids */
|
||||||
static void
|
static void
|
||||||
ath_add_regclassid(uint8_t *regclassids, u_int maxregids,
|
ath_add_regclassid(uint8_t *regclassids, u_int maxregids,
|
||||||
u_int *nregids, uint8_t regclassid)
|
u_int *nregids, uint8_t regclassid)
|
||||||
|
@ -940,7 +940,7 @@ getNoiseFloorThresh(struct ath_hal *ah, HAL_CHANNEL_INTERNAL *chan, int16_t *nft
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Read the NF and check it against the noise floor threshhold
|
* Read the NF and check it against the noise floor threshold
|
||||||
*
|
*
|
||||||
* Returns: TRUE if the NF is good
|
* Returns: TRUE if the NF is good
|
||||||
*/
|
*/
|
||||||
|
@ -381,9 +381,9 @@ ar2316getGainBoundariesAndPdadcsForPowers(struct ath_hal *ah, uint16_t channel,
|
|||||||
* change pwr_I_0 to signed 5-bits.
|
* change pwr_I_0 to signed 5-bits.
|
||||||
*/
|
*/
|
||||||
int16_t Pmin_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
|
int16_t Pmin_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
|
||||||
/* to accomodate -ve power levels later on. */
|
/* to accommodate -ve power levels later on. */
|
||||||
int16_t Pmax_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
|
int16_t Pmax_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
|
||||||
/* to accomodate -ve power levels later on */
|
/* to accommodate -ve power levels later on */
|
||||||
uint16_t numVpd = 0;
|
uint16_t numVpd = 0;
|
||||||
uint16_t Vpd_step;
|
uint16_t Vpd_step;
|
||||||
int16_t tmpVal ;
|
int16_t tmpVal ;
|
||||||
|
@ -358,9 +358,9 @@ ar2317getGainBoundariesAndPdadcsForPowers(struct ath_hal *ah, uint16_t channel,
|
|||||||
* change pwr_I_0 to signed 5-bits.
|
* change pwr_I_0 to signed 5-bits.
|
||||||
*/
|
*/
|
||||||
int16_t Pmin_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
|
int16_t Pmin_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
|
||||||
/* to accomodate -ve power levels later on. */
|
/* to accommodate -ve power levels later on. */
|
||||||
int16_t Pmax_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
|
int16_t Pmax_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
|
||||||
/* to accomodate -ve power levels later on */
|
/* to accommodate -ve power levels later on */
|
||||||
uint16_t numVpd = 0;
|
uint16_t numVpd = 0;
|
||||||
uint16_t Vpd_step;
|
uint16_t Vpd_step;
|
||||||
int16_t tmpVal ;
|
int16_t tmpVal ;
|
||||||
|
@ -375,9 +375,9 @@ ar2413getGainBoundariesAndPdadcsForPowers(struct ath_hal *ah, uint16_t channel,
|
|||||||
* change pwr_I_0 to signed 5-bits.
|
* change pwr_I_0 to signed 5-bits.
|
||||||
*/
|
*/
|
||||||
int16_t Pmin_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
|
int16_t Pmin_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
|
||||||
/* to accomodate -ve power levels later on. */
|
/* to accommodate -ve power levels later on. */
|
||||||
int16_t Pmax_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
|
int16_t Pmax_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
|
||||||
/* to accomodate -ve power levels later on */
|
/* to accommodate -ve power levels later on */
|
||||||
uint16_t numVpd = 0;
|
uint16_t numVpd = 0;
|
||||||
uint16_t Vpd_step;
|
uint16_t Vpd_step;
|
||||||
int16_t tmpVal ;
|
int16_t tmpVal ;
|
||||||
|
@ -380,9 +380,9 @@ ar2425getGainBoundariesAndPdadcsForPowers(struct ath_hal *ah, uint16_t channel,
|
|||||||
* change pwr_I_0 to signed 5-bits.
|
* change pwr_I_0 to signed 5-bits.
|
||||||
*/
|
*/
|
||||||
static int16_t Pmin_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
|
static int16_t Pmin_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
|
||||||
/* to accomodate -ve power levels later on. */
|
/* to accommodate -ve power levels later on. */
|
||||||
static int16_t Pmax_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
|
static int16_t Pmax_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
|
||||||
/* to accomodate -ve power levels later on */
|
/* to accommodate -ve power levels later on */
|
||||||
uint16_t numVpd = 0;
|
uint16_t numVpd = 0;
|
||||||
uint16_t Vpd_step;
|
uint16_t Vpd_step;
|
||||||
int16_t tmpVal ;
|
int16_t tmpVal ;
|
||||||
|
@ -836,7 +836,7 @@ ar5212FillCapabilityInfo(struct ath_hal *ah)
|
|||||||
pCap->halRfSilentSupport = AH_TRUE;
|
pCap->halRfSilentSupport = AH_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* NB: this is a guess, noone seems to know the answer */
|
/* NB: this is a guess, no one seems to know the answer */
|
||||||
ahpriv->ah_rxornIsFatal =
|
ahpriv->ah_rxornIsFatal =
|
||||||
(AH_PRIVATE(ah)->ah_macVersion < AR_SREV_VERSION_VENICE);
|
(AH_PRIVATE(ah)->ah_macVersion < AR_SREV_VERSION_VENICE);
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ ar5212SetPowerModeAwake(struct ath_hal *ah, int setChip)
|
|||||||
* which when blindly written back with OS_REG_RMW_FIELD
|
* which when blindly written back with OS_REG_RMW_FIELD
|
||||||
* enables the MIB interrupt for the sleep performance
|
* enables the MIB interrupt for the sleep performance
|
||||||
* counters. This can result in an interrupt storm when
|
* counters. This can result in an interrupt storm when
|
||||||
* ANI is in operation as noone knows to turn off the MIB
|
* ANI is in operation as no one knows to turn off the MIB
|
||||||
* interrupt cause.
|
* interrupt cause.
|
||||||
*/
|
*/
|
||||||
scr = OS_REG_READ(ah, AR_SCR);
|
scr = OS_REG_READ(ah, AR_SCR);
|
||||||
|
@ -1257,7 +1257,7 @@ ar5212GetNfHistMid(const int16_t calData[AR512_NF_CAL_HIST_MAX])
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Read the NF and check it against the noise floor threshhold
|
* Read the NF and check it against the noise floor threshold
|
||||||
*/
|
*/
|
||||||
int16_t
|
int16_t
|
||||||
ar5212GetNf(struct ath_hal *ah, HAL_CHANNEL_INTERNAL *chan)
|
ar5212GetNf(struct ath_hal *ah, HAL_CHANNEL_INTERNAL *chan)
|
||||||
|
@ -411,9 +411,9 @@ ar5413getGainBoundariesAndPdadcsForPowers(struct ath_hal *ah, uint16_t channel,
|
|||||||
* change pwr_I_0 to signed 5-bits.
|
* change pwr_I_0 to signed 5-bits.
|
||||||
*/
|
*/
|
||||||
int16_t Pmin_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
|
int16_t Pmin_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
|
||||||
/* to accomodate -ve power levels later on. */
|
/* to accommodate -ve power levels later on. */
|
||||||
int16_t Pmax_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
|
int16_t Pmax_t2[MAX_NUM_PDGAINS_PER_CHANNEL];
|
||||||
/* to accomodate -ve power levels later on */
|
/* to accommodate -ve power levels later on */
|
||||||
uint16_t numVpd = 0;
|
uint16_t numVpd = 0;
|
||||||
uint16_t Vpd_step;
|
uint16_t Vpd_step;
|
||||||
int16_t tmpVal ;
|
int16_t tmpVal ;
|
||||||
|
@ -621,7 +621,7 @@ ar5416UpdateNFHistBuff(struct ar5212NfCalHist *h, int16_t *nfarray)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Read the NF and check it against the noise floor threshhold
|
* Read the NF and check it against the noise floor threshold
|
||||||
*/
|
*/
|
||||||
static int16_t
|
static int16_t
|
||||||
ar5416GetNf(struct ath_hal *ah, HAL_CHANNEL_INTERNAL *chan)
|
ar5416GetNf(struct ath_hal *ah, HAL_CHANNEL_INTERNAL *chan)
|
||||||
|
@ -563,7 +563,7 @@ ar5416ProcTxDesc(struct ath_hal *ah,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* These fields are not used. Zero these to preserve compatability
|
* These fields are not used. Zero these to preserve compatibility
|
||||||
* with existing drivers.
|
* with existing drivers.
|
||||||
*/
|
*/
|
||||||
ts->ts_virtcol = MS(ads->ds_ctl1, AR_VirtRetryCnt);
|
ts->ts_virtcol = MS(ads->ds_ctl1, AR_VirtRetryCnt);
|
||||||
|
@ -192,10 +192,10 @@
|
|||||||
#define AR_PCIE_PM_CTRL_ENA 0x00080000
|
#define AR_PCIE_PM_CTRL_ENA 0x00080000
|
||||||
|
|
||||||
#define AR_AHB_EXACT_WR_EN 0x00000000 /* write exact bytes */
|
#define AR_AHB_EXACT_WR_EN 0x00000000 /* write exact bytes */
|
||||||
#define AR_AHB_BUF_WR_EN 0x00000001 /* buffer write upto cacheline*/
|
#define AR_AHB_BUF_WR_EN 0x00000001 /* buffer write up to cacheline*/
|
||||||
#define AR_AHB_EXACT_RD_EN 0x00000000 /* read exact bytes */
|
#define AR_AHB_EXACT_RD_EN 0x00000000 /* read exact bytes */
|
||||||
#define AR_AHB_CACHELINE_RD_EN 0x00000002 /* read upto end of cacheline */
|
#define AR_AHB_CACHELINE_RD_EN 0x00000002 /* read up to end of cacheline */
|
||||||
#define AR_AHB_PREFETCH_RD_EN 0x00000004 /* prefetch upto page boundary*/
|
#define AR_AHB_PREFETCH_RD_EN 0x00000004 /* prefetch up to page boundary*/
|
||||||
#define AR_AHB_PAGE_SIZE_1K 0x00000000 /* set page-size as 1k */
|
#define AR_AHB_PAGE_SIZE_1K 0x00000000 /* set page-size as 1k */
|
||||||
#define AR_AHB_PAGE_SIZE_2K 0x00000008 /* set page-size as 2k */
|
#define AR_AHB_PAGE_SIZE_2K 0x00000008 /* set page-size as 2k */
|
||||||
#define AR_AHB_PAGE_SIZE_4K 0x00000010 /* set page-size as 4k */
|
#define AR_AHB_PAGE_SIZE_4K 0x00000010 /* set page-size as 4k */
|
||||||
@ -416,7 +416,7 @@
|
|||||||
#define AR_PCU_MISS_BCN_IN_SLEEP 0x00004000 /* count bmiss's when sleeping */
|
#define AR_PCU_MISS_BCN_IN_SLEEP 0x00004000 /* count bmiss's when sleeping */
|
||||||
#define AR_PCU_BUG_12306_FIX_ENA 0x00020000 /* use rx_clear to count sifs */
|
#define AR_PCU_BUG_12306_FIX_ENA 0x00020000 /* use rx_clear to count sifs */
|
||||||
#define AR_PCU_FORCE_QUIET_COLL 0x00040000 /* kill xmit for channel change */
|
#define AR_PCU_FORCE_QUIET_COLL 0x00040000 /* kill xmit for channel change */
|
||||||
#define AR_PCU_TBTT_PROTECT 0x00200000 /* no xmit upto tbtt+20 uS */
|
#define AR_PCU_TBTT_PROTECT 0x00200000 /* no xmit up to tbtt+20 uS */
|
||||||
#define AR_PCU_CLEAR_VMF 0x01000000 /* clear vmf mode (fast cc)*/
|
#define AR_PCU_CLEAR_VMF 0x01000000 /* clear vmf mode (fast cc)*/
|
||||||
#define AR_PCU_CLEAR_BA_VALID 0x04000000 /* clear ba state */
|
#define AR_PCU_CLEAR_BA_VALID 0x04000000 /* clear ba state */
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
*
|
*
|
||||||
* It is not an aimless search, there is some direction to the search
|
* It is not an aimless search, there is some direction to the search
|
||||||
* pattern. But then, the minstels of old only sung where they thought
|
* pattern. But then, the minstels of old only sung where they thought
|
||||||
* they would get an income. Similarily, we direct thesearch a little.
|
* they would get an income. Similarly, we direct the search a little.
|
||||||
*
|
*
|
||||||
* Enjoy. Derek Smithies. */
|
* Enjoy. Derek Smithies. */
|
||||||
|
|
||||||
|
@ -92,7 +92,7 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* BSD/Linux compatibility shims. These are used mainly to
|
* BSD/Linux compatibility shims. These are used mainly to
|
||||||
* minimize differences when importing necesary BSD code.
|
* minimize differences when importing necessary BSD code.
|
||||||
*/
|
*/
|
||||||
#define NBBY 8 /* number of bits/byte */
|
#define NBBY 8 /* number of bits/byte */
|
||||||
|
|
||||||
|
@ -1847,7 +1847,7 @@ ieee80211_build_countryie(struct ieee80211com *ic)
|
|||||||
* NB: this is not quite right, since we should have one of:
|
* NB: this is not quite right, since we should have one of:
|
||||||
* 'I': indoor only
|
* 'I': indoor only
|
||||||
* 'O': outdoor only
|
* 'O': outdoor only
|
||||||
* ' ': all enviroments
|
* ' ': all environments
|
||||||
* we currently can only provide 'I' or ' '.
|
* we currently can only provide 'I' or ' '.
|
||||||
*/
|
*/
|
||||||
ic->ic_country_ie.country_str[2] = 'I';
|
ic->ic_country_ie.country_str[2] = 'I';
|
||||||
|
@ -393,7 +393,7 @@ ieee80211_input(struct ieee80211vap *vap, struct ieee80211_node *ni_or_null,
|
|||||||
/* since ieee80211_input() can be called multiple times for
|
/* since ieee80211_input() can be called multiple times for
|
||||||
* flooding VAPs when we don't know which VAP needs the packet -
|
* flooding VAPs when we don't know which VAP needs the packet -
|
||||||
* we don't want to update the wrong state when ni is assigned
|
* we don't want to update the wrong state when ni is assigned
|
||||||
* to the bss node to accomodate this case. */
|
* to the bss node to accommodate this case. */
|
||||||
if (IEEE80211_ADDR_EQ(wh->i_addr2, ni->ni_macaddr)) {
|
if (IEEE80211_ADDR_EQ(wh->i_addr2, ni->ni_macaddr)) {
|
||||||
ni->ni_rssi = rssi;
|
ni->ni_rssi = rssi;
|
||||||
ni->ni_rtsf = rtsf;
|
ni->ni_rtsf = rtsf;
|
||||||
@ -1051,7 +1051,7 @@ ieee80211_defrag(struct ieee80211_node *ni, struct sk_buff *skb, int hdrlen)
|
|||||||
if (more_frag) {
|
if (more_frag) {
|
||||||
if (skb_is_nonlinear(skb)) {
|
if (skb_is_nonlinear(skb)) {
|
||||||
/*
|
/*
|
||||||
* We need a continous buffer to
|
* We need a continuous buffer to
|
||||||
* assemble fragments
|
* assemble fragments
|
||||||
*/
|
*/
|
||||||
ni->ni_rxfrag = skb_copy(skb, GFP_ATOMIC);
|
ni->ni_rxfrag = skb_copy(skb, GFP_ATOMIC);
|
||||||
|
@ -99,7 +99,7 @@ static struct attribute *ieee80211_sysfs_attrs[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static struct attribute_group ieee80211_attr_grp = {
|
static struct attribute_group ieee80211_attr_grp = {
|
||||||
.name = NULL, /* No seperate (sub-)directory */
|
.name = NULL, /* No separate (sub-)directory */
|
||||||
.attrs = ieee80211_sysfs_attrs
|
.attrs = ieee80211_sysfs_attrs
|
||||||
};
|
};
|
||||||
#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17) */
|
#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,17) */
|
||||||
|
@ -374,7 +374,7 @@ ieee80211_reset_bss(struct ieee80211vap *vap)
|
|||||||
IEEE80211_DPRINTF(vap, IEEE80211_MSG_ASSOC,
|
IEEE80211_DPRINTF(vap, IEEE80211_MSG_ASSOC,
|
||||||
"%s: ni:%p allocated for " MAC_FMT "\n",
|
"%s: ni:%p allocated for " MAC_FMT "\n",
|
||||||
__func__, ni, MAC_ADDR(vap->iv_myaddr));
|
__func__, ni, MAC_ADDR(vap->iv_myaddr));
|
||||||
KASSERT(ni != NULL, ("unable to setup inital BSS node"));
|
KASSERT(ni != NULL, ("unable to setup initial BSS node"));
|
||||||
|
|
||||||
vap->iv_bss = PASS_NODE(ni);
|
vap->iv_bss = PASS_NODE(ni);
|
||||||
KASSERT((atomic_read(&vap->iv_bss->ni_refcnt) == 2),
|
KASSERT((atomic_read(&vap->iv_bss->ni_refcnt) == 2),
|
||||||
|
@ -279,7 +279,7 @@ struct ieee80211_node *ieee80211_find_txnode(struct ieee80211vap *,
|
|||||||
/* Reference counting only needs to be locked out against the transitions,
|
/* Reference counting only needs to be locked out against the transitions,
|
||||||
* 0->1 and 1->0 (i.e., when we do not own the reference we are getting).
|
* 0->1 and 1->0 (i.e., when we do not own the reference we are getting).
|
||||||
* This only happens when finding the a node reference from the node table,
|
* This only happens when finding the a node reference from the node table,
|
||||||
* which is locked seperately. Thus, we do not need to lock the follwoing
|
* which is locked separately. Thus, we do not need to lock the following
|
||||||
* functions.
|
* functions.
|
||||||
* Increment the reference counter for ieee80211_node *. */
|
* Increment the reference counter for ieee80211_node *. */
|
||||||
struct ieee80211_node *ieee80211_ref_node(struct ieee80211_node *ni);
|
struct ieee80211_node *ieee80211_ref_node(struct ieee80211_node *ni);
|
||||||
|
@ -76,7 +76,7 @@
|
|||||||
* This is halfway between the 10@100ms default from prior hardcoded setting for
|
* This is halfway between the 10@100ms default from prior hardcoded setting for
|
||||||
* software beacon miss timers, and the 7@100ms default from prior hardcoded
|
* software beacon miss timers, and the 7@100ms default from prior hardcoded
|
||||||
* timer value for hardware beacon miss timer.
|
* timer value for hardware beacon miss timer.
|
||||||
* Based upon emperical evidence and practices of commercial vendors, I believe
|
* Based upon empirical evidence and practices of commercial vendors, I believe
|
||||||
* this should really be 2500ms by default. */
|
* this should really be 2500ms by default. */
|
||||||
#define IEEE80211_BMISSTHRESH_DEFAULT_MS 850
|
#define IEEE80211_BMISSTHRESH_DEFAULT_MS 850
|
||||||
|
|
||||||
|
@ -983,7 +983,7 @@ ieee80211_ioctl_giwrange(struct net_device *dev, struct iw_request_info *info,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Atheros' RSSI value is SNR: 0 -> 60 for old chipsets. Range
|
/* Atheros' RSSI value is SNR: 0 -> 60 for old chipsets. Range
|
||||||
* for newer chipsets is unknown. This value is arbitarily chosen
|
* for newer chipsets is unknown. This value is arbitrarily chosen
|
||||||
* to give an indication that full rate will be available and to be
|
* to give an indication that full rate will be available and to be
|
||||||
* a practicable maximum. */
|
* a practicable maximum. */
|
||||||
range->max_qual.qual = 70;
|
range->max_qual.qual = 70;
|
||||||
@ -2186,7 +2186,7 @@ ieee80211_setupxr(struct ieee80211vap *vap)
|
|||||||
strcat(name, "-xr");
|
strcat(name, "-xr");
|
||||||
/*
|
/*
|
||||||
* Create a new XR vap. If the normal VAP is already up,
|
* Create a new XR vap. If the normal VAP is already up,
|
||||||
* bring up the XR vap aswell.
|
* bring up the XR vap as well.
|
||||||
*/
|
*/
|
||||||
vap->iv_ath_cap &= ~IEEE80211_ATHC_TURBOP; /* turn off turbo */
|
vap->iv_ath_cap &= ~IEEE80211_ATHC_TURBOP; /* turn off turbo */
|
||||||
ieee80211_scan_flush(ic); /* NB: could optimize */
|
ieee80211_scan_flush(ic); /* NB: could optimize */
|
||||||
|
@ -1065,7 +1065,7 @@ struct iw_priv_args
|
|||||||
*/
|
*/
|
||||||
struct iw_event
|
struct iw_event
|
||||||
{
|
{
|
||||||
__u16 len; /* Real lenght of this stuff */
|
__u16 len; /* Real length of this stuff */
|
||||||
__u16 cmd; /* Wireless IOCTL */
|
__u16 cmd; /* Wireless IOCTL */
|
||||||
union iwreq_data u; /* IOCTL fixed payload */
|
union iwreq_data u; /* IOCTL fixed payload */
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user