.. | .. |
---|
101 | 101 | /** |
---|
102 | 102 | * ath5k_hw_get_frame_duration() - Get tx time of a frame |
---|
103 | 103 | * @ah: The &struct ath5k_hw |
---|
| 104 | + * @band: One of enum nl80211_band |
---|
104 | 105 | * @len: Frame's length in bytes |
---|
105 | 106 | * @rate: The @struct ieee80211_rate |
---|
106 | 107 | * @shortpre: Indicate short preample |
---|
.. | .. |
---|
670 | 671 | break; |
---|
671 | 672 | case NL80211_IFTYPE_ADHOC: |
---|
672 | 673 | AR5K_REG_ENABLE_BITS(ah, AR5K_TXCFG, AR5K_TXCFG_ADHOC_BCN_ATIM); |
---|
673 | | - /* fall through */ |
---|
| 674 | + fallthrough; |
---|
674 | 675 | default: |
---|
675 | 676 | /* On non-STA modes timer1 is used as next DMA |
---|
676 | 677 | * beacon alert (DBA) timer and timer2 as next |
---|
.. | .. |
---|
913 | 914 | pcu_reg |= AR5K_STA_ID1_KEYSRCH_MODE |
---|
914 | 915 | | (ah->ah_version == AR5K_AR5210 ? |
---|
915 | 916 | AR5K_STA_ID1_PWR_SV : 0); |
---|
916 | | - /* fall through */ |
---|
| 917 | + fallthrough; |
---|
917 | 918 | case NL80211_IFTYPE_MONITOR: |
---|
918 | 919 | pcu_reg |= AR5K_STA_ID1_KEYSRCH_MODE |
---|
919 | 920 | | (ah->ah_version == AR5K_AR5210 ? |
---|
.. | .. |
---|
945 | 946 | * ath5k_hw_pcu_init() - Initialize PCU |
---|
946 | 947 | * @ah: The &struct ath5k_hw |
---|
947 | 948 | * @op_mode: One of enum nl80211_iftype |
---|
948 | | - * @mode: One of enum ath5k_driver_mode |
---|
949 | 949 | * |
---|
950 | 950 | * This function is used to initialize PCU by setting current |
---|
951 | 951 | * operation mode and various other settings. |
---|