Lines Matching defs:channel

517 	int channel;
539 int channel;
584 static int atmel_validate_channel(struct atmel_private *priv, int channel);
1308 int i, channel, err;
1350 if ((channel = atmel_validate_channel(priv, priv->channel)))
1351 priv->channel = channel;
1383 static int atmel_validate_channel(struct atmel_private *priv, int channel)
1385 /* check that channel is OK, if so return zero,
1386 else return suitable default channel */
1391 if (channel >= channel_table[i].min &&
1392 channel <= channel_table[i].max)
1547 priv->channel = 4;
2267 /* If setting by frequency, convert to a channel */
2275 /* Setting by channel number */
2279 int channel = fwrq->m;
2280 if (atmel_validate_channel(priv, channel) == 0) {
2281 priv->channel = channel;
2297 fwrq->m = priv->channel;
2378 iwe.u.freq.m = priv->BSSinfo[i].channel;
2726 u8 channel;
2753 cmd.channel = (priv->channel & 0x7f);
2771 u8 channel;
2780 cmd.channel = (priv->channel & 0x7f);
2793 u8 channel;
2802 cmd.channel = (priv->channel & 0x7f);
2808 u8 channel)
2820 if (priv->channel != channel) {
2821 priv->channel = channel;
2823 atmel_set_mib8(priv, Phy_Mib_Type, PHY_MIB_CHANNEL_POS, channel);
2953 !(priv->BSSinfo[i].channel & 0x80)) {
2965 atmel_validate_channel(priv, priv->BSSinfo[i].channel) == 0) {
2977 u16 beacon_period, u8 channel, u8 rssi, u8 ssid_len,
3004 priv->BSSinfo[index].channel = channel;
3090 priv->BSSinfo[(int)(priv->current_BSS)].channel |= 0x80;
3187 priv->BSSinfo[(int)(priv->current_BSS)].channel |= 0x80;
3219 priv->channel = bss->channel & 0x7f;
3255 priv->BSSinfo[(int)(priv->current_BSS)].channel |= 0x80;
3330 u8 channel, rates_length, ssid_length;
3344 channel = beaconp[ssid_length + rates_length + 18];
3359 handle_beacon_probe(priv, capability, channel);
3365 beacon_interval, channel, rssi,