channel.c (c7dd40c92af1f28b84995a07aa88ccd3068ee4de) | channel.c (499afaccf6f3d5d3180f4155e85becf15d09ff71) |
---|---|
1/* 2 * Copyright (c) 2014 Qualcomm Atheros, Inc. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --- 935 unchanged lines hidden (view full) --- 944 break; 945 default: 946 break; 947 } 948} 949 950#ifdef CONFIG_ATH9K_CHANNEL_CONTEXT 951 | 1/* 2 * Copyright (c) 2014 Qualcomm Atheros, Inc. 3 * 4 * Permission to use, copy, modify, and/or distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --- 935 unchanged lines hidden (view full) --- 944 break; 945 default: 946 break; 947 } 948} 949 950#ifdef CONFIG_ATH9K_CHANNEL_CONTEXT 951 |
952bool ath9k_is_chanctx_enabled(void) 953{ 954 return (ath9k_use_chanctx == 1); 955} 956 |
|
952/*****************/ 953/* P2P Powersave */ 954/*****************/ 955 956static void ath9k_update_p2p_ps_timer(struct ath_softc *sc, struct ath_vif *avp) 957{ 958 struct ath_hw *ah = sc->sc_ah; 959 s32 tsf, target_tsf; --- 131 unchanged lines hidden --- | 957/*****************/ 958/* P2P Powersave */ 959/*****************/ 960 961static void ath9k_update_p2p_ps_timer(struct ath_softc *sc, struct ath_vif *avp) 962{ 963 struct ath_hw *ah = sc->sc_ah; 964 s32 tsf, target_tsf; --- 131 unchanged lines hidden --- |