Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Side by Side Diff: chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/ath9k.h

Issue 3427005: CHROMIUMOS: ath9k: fix enabling ANI / tx monitor after bg scan (Closed) Base URL: ssh://gitrw.chromium.org/kernel.git
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/main.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2008-2009 Atheros Communications Inc. 2 * Copyright (c) 2008-2009 Atheros Communications Inc.
3 * 3 *
4 * Permission to use, copy, modify, and/or distribute this software for any 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 5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies. 6 * copyright notice and this permission notice appear in all copies.
7 * 7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 #define SC_OP_INVALID BIT(0) 509 #define SC_OP_INVALID BIT(0)
510 #define SC_OP_BEACONS BIT(1) 510 #define SC_OP_BEACONS BIT(1)
511 #define SC_OP_RXAGGR BIT(2) 511 #define SC_OP_RXAGGR BIT(2)
512 #define SC_OP_TXAGGR BIT(3) 512 #define SC_OP_TXAGGR BIT(3)
513 #define SC_OP_OFFCHANNEL BIT(4) 513 #define SC_OP_OFFCHANNEL BIT(4)
514 #define SC_OP_PREAMBLE_SHORT BIT(5) 514 #define SC_OP_PREAMBLE_SHORT BIT(5)
515 #define SC_OP_PROTECT_ENABLE BIT(6) 515 #define SC_OP_PROTECT_ENABLE BIT(6)
516 #define SC_OP_RXFLUSH BIT(7) 516 #define SC_OP_RXFLUSH BIT(7)
517 #define SC_OP_LED_ASSOCIATED BIT(8) 517 #define SC_OP_LED_ASSOCIATED BIT(8)
518 #define SC_OP_LED_ON BIT(9) 518 #define SC_OP_LED_ON BIT(9)
519 #define SC_OP_SCANNING BIT(10)
520 #define SC_OP_TSF_RESET BIT(11) 519 #define SC_OP_TSF_RESET BIT(11)
521 #define SC_OP_BT_PRIORITY_DETECTED BIT(12) 520 #define SC_OP_BT_PRIORITY_DETECTED BIT(12)
522 #define SC_OP_BT_SCAN BIT(13) 521 #define SC_OP_BT_SCAN BIT(13)
523 #define SC_OP_ANI_RUN BIT(14) 522 #define SC_OP_ANI_RUN BIT(14)
524 523
525 /* Powersave flags */ 524 /* Powersave flags */
526 #define PS_WAIT_FOR_BEACON BIT(0) 525 #define PS_WAIT_FOR_BEACON BIT(0)
527 #define PS_WAIT_FOR_CAB BIT(1) 526 #define PS_WAIT_FOR_CAB BIT(1)
528 #define PS_WAIT_FOR_PSPOLL_DATA BIT(2) 527 #define PS_WAIT_FOR_PSPOLL_DATA BIT(2)
529 #define PS_WAIT_FOR_TX_ACK BIT(3) 528 #define PS_WAIT_FOR_TX_ACK BIT(3)
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 bool ath9k_all_wiphys_idle(struct ath_softc *sc); 686 bool ath9k_all_wiphys_idle(struct ath_softc *sc);
688 void ath9k_set_wiphy_idle(struct ath_wiphy *aphy, bool idle); 687 void ath9k_set_wiphy_idle(struct ath_wiphy *aphy, bool idle);
689 688
690 void ath_mac80211_stop_queue(struct ath_softc *sc, u16 skb_queue); 689 void ath_mac80211_stop_queue(struct ath_softc *sc, u16 skb_queue);
691 bool ath_mac80211_start_queue(struct ath_softc *sc, u16 skb_queue); 690 bool ath_mac80211_start_queue(struct ath_softc *sc, u16 skb_queue);
692 691
693 void ath_start_rfkill_poll(struct ath_softc *sc); 692 void ath_start_rfkill_poll(struct ath_softc *sc);
694 extern void ath9k_rfkill_poll_state(struct ieee80211_hw *hw); 693 extern void ath9k_rfkill_poll_state(struct ieee80211_hw *hw);
695 694
696 #endif /* ATH9K_H */ 695 #endif /* ATH9K_H */
OLDNEW
« no previous file with comments | « no previous file | chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/main.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698