Deleted Added
full compact
ar9300_freebsd.c (286342) ar9300_freebsd.c (290612)
1/*
2 * Copyright (c) 2012, 2013 Adrian Chadd <adrian@FreeBSD.org>.
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

--- 299 unchanged lines hidden (view full) ---

308 /* LNA diversity functions */
309 ah->ah_divLnaConfGet = ar9300_ant_div_comb_get_config;
310 ah->ah_divLnaConfSet = ar9300_ant_div_comb_set_config;
311}
312
313HAL_BOOL
314ar9300_reset_freebsd(struct ath_hal *ah, HAL_OPMODE opmode,
315 struct ieee80211_channel *chan, HAL_BOOL bChannelChange,
1/*
2 * Copyright (c) 2012, 2013 Adrian Chadd <adrian@FreeBSD.org>.
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

--- 299 unchanged lines hidden (view full) ---

308 /* LNA diversity functions */
309 ah->ah_divLnaConfGet = ar9300_ant_div_comb_get_config;
310 ah->ah_divLnaConfSet = ar9300_ant_div_comb_set_config;
311}
312
313HAL_BOOL
314ar9300_reset_freebsd(struct ath_hal *ah, HAL_OPMODE opmode,
315 struct ieee80211_channel *chan, HAL_BOOL bChannelChange,
316 HAL_RESET_TYPE resetType,
316 HAL_STATUS *status)
317{
318 HAL_BOOL r;
319 HAL_HT_MACMODE macmode;
320 struct ath_hal_private *ap = AH_PRIVATE(ah);
321
322 macmode =
323 IEEE80211_IS_CHAN_HT40(chan) ?

--- 476 unchanged lines hidden ---
317 HAL_STATUS *status)
318{
319 HAL_BOOL r;
320 HAL_HT_MACMODE macmode;
321 struct ath_hal_private *ap = AH_PRIVATE(ah);
322
323 macmode =
324 IEEE80211_IS_CHAN_HT40(chan) ?

--- 476 unchanged lines hidden ---