#define CARL9170FW_PHY_HT_DYN2040 0x8
#define CARL9170FW_PHY_HT_EXT_CHAN_OFF 0x3
#define CARL9170FW_PHY_HT_EXT_CHAN_OFF_S 2
+#define CARL9170FW_PHY_RF_DIV (BIT(4) | BIT(5))
+#define CARL9170FW_PHY_RF_BW_10MHZ BIT(4)
+#define CARL9170FW_PHY_RF_BW_5MHZ BIT(5)
+#define CARL9170FW_PHY_RF_DIV_S 4
+
struct carl9170_rf_init {
__le32 freq;
- u8 ht_settings;
+ u8 settings;
u8 padding2[3];
__le32 delta_slope_coeff_exp;
__le32 delta_slope_coeff_man;
} __packed;
#define CARL9170_PSM_SIZE 4
+/*
+ * Note: If a bit in rx_filter is set, then it
+ * means that the particular frames which matches
+ * the condition are FILTERED/REMOVED/DISCARDED!
+ * (This is can be a bit confusing, especially
+ * because someone people think it's the exact
+ * opposite way, so watch out!)
+ */
struct carl9170_rx_filter_cmd {
__le32 rx_filter;
} __packed;
u8 mac[6];
u8 bssid[6];
__le32 null_interval;
- __le32 free_for_use2;
+ __le32 free_for_use2;
__le32 mask;
u8 pattern[32];
} __packed;