15 Commits
Author SHA1 Message Date
Jakub KicinskiandFelix Fietkau 7a1dca66fc calibration flags are 32bits long
Without this we can't set BIT(16) for ext pa.

Signed-off-by: Jakub Kicinski <[email protected]>
2015-06-17 10:19:45 +02:00
Jakub KicinskiandFelix Fietkau 9ee70ec605 correct agc bw setting
Looks like a typo, agc_val would be unused otherwise.

Signed-off-by: Jakub Kicinski <[email protected]>
2015-06-17 10:19:45 +02:00
Jakub KicinskiandFelix Fietkau 7d8c14df00 mt76_mcu_function_select() should be static
Signed-off-by: Jakub Kicinski <[email protected]>
2015-06-17 10:19:45 +02:00
Jakub KicinskiandFelix Fietkau 72aa1ac1dd don't compare .hw_key_idx to negative values
.hw_key_idx is defined as u8 and set to -1 when there is no key.
However, we cannot compare to -1 because of the unsigned type.

Signed-off-by: Jakub Kicinski <[email protected]>
2015-06-17 10:19:45 +02:00
Jakub KicinskiandFelix Fietkau 729de55ad0 mark queue registers as __iomem
Signed-off-by: Jakub Kicinski <[email protected]>
2015-06-17 10:19:45 +02:00
Jakub Kicinski 295951c20a use precision to cap length of firmware strings
It is the precision not field width in the format
which limits length of printed string.

Fixes: 28f93be713 ("remove get_string helper")
Signed-off-by: Jakub Kicinski <[email protected]>
2015-02-23 19:00:07 +01:00
Jakub Kicinski 9553279f3d correct spelling INITAILIZED -> INITIALIZED
Signed-off-by: Jakub Kicinski <[email protected]>
2015-02-17 18:00:04 +01:00
Jakub Kicinski 4af9a0cdfc correct aggregation stats offset calculation
Signed-off-by: Jakub Kicinski <[email protected]>
2015-02-17 18:00:04 +01:00
Jakub Kicinski 1c378c73bf correct avg_rssi on chain #1
Signed-off-by: Jakub Kicinski <[email protected]>
2015-02-05 18:02:00 +01:00
Jakub Kicinski 78214c0903 compare cipher to correct enum type
Signed-off-by: Jakub Kicinski <[email protected]>
2015-02-01 11:38:40 +01:00
Jakub Kicinski 95be800476 correct mt76_wcid_alloc()
Signed-off-by: Jakub Kicinski <[email protected]>
2015-02-01 11:35:57 +01:00
Jakub Kicinski 3cbd420a91 fix setting cw values in hardware
mac80211 passes integer cw_min and cw_max values while hardware
registers should be programmed with the exponent

Signed-off-by: Jakub Kicinski <[email protected]>
2015-02-01 11:18:40 +01:00
Jakub Kicinski a4498bb148 remember to release firmware
Signed-off-by: Jakub Kicinski <[email protected]>
2015-02-01 11:15:47 +01:00
Jakub Kicinski 28f93be713 remove get_string helper
There is no need to copy strings, printk will not read past field
width and strings in firmware are padded with '_' so we will not
save any space by not using field widths.

Signed-off-by: Jakub Kicinski <[email protected]>
2015-02-01 11:08:38 +01:00
Jakub Kicinski bd45637645 correct number of efuse registers read
mt76_efuse_read() is supposed to read out 16 bytes of data
that is 4x4B data registers.  Correct the loop bounds.

Signed-off-by: Jakub Kicinski <[email protected]>
2015-02-01 10:53:57 +01:00