Lines Matching refs:rxon
544 struct iwl_rxon_cmd *rxon = &priv->staging_rxon;
547 rxon->filter_flags &= ~RXON_FILTER_DIS_DECRYPT_MSK;
549 rxon->filter_flags |= RXON_FILTER_DIS_DECRYPT_MSK;
565 struct iwl_rxon_cmd *rxon = &priv->staging_rxon;
567 if (rxon->flags & RXON_FLG_BAND_24G_MSK) {
568 error |= le32_to_cpu(rxon->flags &
575 error |= (rxon->flags & RXON_FLG_SHORT_SLOT_MSK) ?
580 error |= le32_to_cpu(rxon->flags & RXON_FLG_CCK_MSK);
585 error |= (rxon->node_addr[0] | rxon->bssid_addr[0]) & 0x1;
590 error |= (((rxon->ofdm_basic_rates & IWL_RATE_6M_MASK) == 0) &&
591 ((rxon->cck_basic_rates & IWL_RATE_1M_MASK) == 0));
595 error |= (le16_to_cpu(rxon->assoc_id) > 2007);
599 error |= ((rxon->flags & (RXON_FLG_CCK_MSK | RXON_FLG_SHORT_SLOT_MSK))
605 error |= ((rxon->flags & (RXON_FLG_CCK_MSK | RXON_FLG_AUTO_DETECT_MSK))
611 error |= ((rxon->flags & (RXON_FLG_AUTO_DETECT_MSK |
619 le16_to_cpu(rxon->channel));
694 struct iwl_rxon_cmd *rxon = &priv->staging_rxon;
697 rxon->flags &= ~(RXON_FLG_CHANNEL_MODE_MSK |
704 rxon->flags |= cpu_to_le32(ht_conf->ht_protection << RXON_FLG_HT_OPERATING_MODE_POS);
709 rxon->flags &= ~(RXON_FLG_CHANNEL_MODE_MSK |
714 rxon->flags |= RXON_FLG_CHANNEL_MODE_PURE_40;
718 rxon->flags &= ~RXON_FLG_CTRL_CHANNEL_LOC_HI_MSK;
721 rxon->flags |= RXON_FLG_CTRL_CHANNEL_LOC_HI_MSK;
728 rxon->flags &= ~(RXON_FLG_CTRL_CHANNEL_LOC_HI_MSK);
729 rxon->flags |= RXON_FLG_CHANNEL_MODE_MIXED;
732 rxon->flags |= RXON_FLG_CTRL_CHANNEL_LOC_HI_MSK;
733 rxon->flags |= RXON_FLG_CHANNEL_MODE_MIXED;
743 rxon->flags |= RXON_FLG_CHANNEL_MODE_LEGACY;
749 IWL_DEBUG_ASSOC(priv, "rxon flags 0x%X operation mode :0x%X "
751 le32_to_cpu(rxon->flags), ht_conf->ht_protection,
972 * initialize rxon structure with default values from eeprom
1084 struct iwl_rxon_cmd *rxon = (void *)&priv->active_rxon;
1090 rxon->channel = csa->channel;
1107 struct iwl_rxon_cmd *rxon = &priv->staging_rxon;
1110 iwl_print_hex_dump(priv, IWL_DL_RADIO, (u8 *) rxon, sizeof(*rxon));
1111 IWL_DEBUG_RADIO(priv, "u16 channel: 0x%x\n", le16_to_cpu(rxon->channel));
1112 IWL_DEBUG_RADIO(priv, "u32 flags: 0x%08X\n", le32_to_cpu(rxon->flags));
1114 le32_to_cpu(rxon->filter_flags));
1115 IWL_DEBUG_RADIO(priv, "u8 dev_type: 0x%x\n", rxon->dev_type);
1117 rxon->ofdm_basic_rates);
1118 IWL_DEBUG_RADIO(priv, "u8 cck_basic_rates: 0x%02x\n", rxon->cck_basic_rates);
1119 IWL_DEBUG_RADIO(priv, "u8[6] node_addr: %pM\n", rxon->node_addr);
1120 IWL_DEBUG_RADIO(priv, "u8[6] bssid_addr: %pM\n", rxon->bssid_addr);
1121 IWL_DEBUG_RADIO(priv, "u16 assoc_id: 0x%x\n", le16_to_cpu(rxon->assoc_id));