avoid hitting the size limitations of wireless extensions. wext is a real pain.
Now the values are stored in ic_chan_non_occupy[] instead.
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3207
0192ed92-7a03-0410-a25b-
9323aeb14dbd
ichan->ic_maxregpower = c->maxRegTxPower; /* dBm */
ichan->ic_maxpower = c->maxTxPower; /* 1/2 dBm */
ichan->ic_minpower = c->minTxPower; /* 1/2 dBm */
- ichan->ic_non_occupancy_period.tv_sec = 0;
- ichan->ic_non_occupancy_period.tv_usec = 0;
+ ic->ic_chan_non_occupy[i].tv_sec = 0;
+ ic->ic_chan_non_occupy[i].tv_usec = 0;
printk(KERN_INFO "Channel %3d (%4d MHz) Max Tx Power %d dBm%s "
"[%d hw %d reg] Flags%s%s%s%s%s%s%s%s%s%s%s%s%"
int8_t ic_maxregpower; /* maximum regulatory tx power in dBm */
int8_t ic_maxpower; /* maximum tx power in dBm */
int8_t ic_minpower; /* minimum tx power in dBm */
-
- /* end of the Non-Occupancy Period, when we can use this channel again?
- * If <= NOW then clear IEEE80211_CHAN_RADAR in ic_flags. Initialized
- * to {0,0} */
- struct timeval ic_non_occupancy_period;
};
#define IEEE80211_CHAN_MAX 255
*/
int ic_nchans; /* # entries in ic_channels */
struct ieee80211_channel ic_channels[IEEE80211_CHAN_MAX+1];
+ struct timeval ic_chan_non_occupy[IEEE80211_CHAN_MAX];
u_int8_t ic_chan_avail[IEEE80211_CHAN_BYTES];
u_int8_t ic_chan_active[IEEE80211_CHAN_BYTES];
struct ieee80211_channel *ic_curchan; /* current channel */