Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111300
b: refs/heads/master
c: 822ceae
h: refs/heads/master
v: v3
  • Loading branch information
Sujith authored and John W. Linville committed Aug 29, 2008
1 parent e0c34ec commit 46885c5
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 40 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c83be6885e2f1ee6e0b290b6cfc82014c675e087
refs/heads/master: 822ceaefaaaea4bcd7965e3f4b3479e805f7dfa5
5 changes: 0 additions & 5 deletions trunk/drivers/net/wireless/ath9k/ath9k.h
Original file line number Diff line number Diff line change
Expand Up @@ -628,11 +628,6 @@ struct ath9k_country_entry {
(IEEE80211_WEP_IVLEN + \
IEEE80211_WEP_KIDLEN + \
IEEE80211_WEP_CRCLEN))
#define IEEE80211_MAX_LEN (2300 + FCS_LEN + \
(IEEE80211_WEP_IVLEN + \
IEEE80211_WEP_KIDLEN + \
IEEE80211_WEP_CRCLEN))

#define MAX_RATE_POWER 63

enum ath9k_power_mode {
Expand Down
25 changes: 0 additions & 25 deletions trunk/drivers/net/wireless/ath9k/beacon.c
Original file line number Diff line number Diff line change
Expand Up @@ -453,31 +453,6 @@ void ath_beacon_return(struct ath_softc *sc, struct ath_vap *avp)
}
}

/*
* Reclaim beacon resources and return buffer to the pool.
*
* This function will free any wbuf frames that are still attached to the
* beacon buffers in the ATH object. Note that this does not de-allocate
* any wbuf objects that are in the transmit queue and have not yet returned
* to the ATH object.
*/

void ath_beacon_free(struct ath_softc *sc)
{
struct ath_buf *bf;

list_for_each_entry(bf, &sc->sc_bbuf, list) {
if (bf->bf_mpdu != NULL) {
struct sk_buff *skb = (struct sk_buff *) bf->bf_mpdu;
pci_unmap_single(sc->pdev, bf->bf_dmacontext,
skb_end_pointer(skb) - skb->head,
PCI_DMA_TODEVICE);
dev_kfree_skb_any(skb);
bf->bf_mpdu = NULL;
}
}
}

/*
* Tasklet for Sending Beacons
*
Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/net/wireless/ath9k/hw.h
Original file line number Diff line number Diff line change
Expand Up @@ -825,10 +825,6 @@ struct ath_hal_5416 {
#define COEF_SCALE_S 24
#define HT40_CHANNEL_CENTER_SHIFT 10

#define ar5416CheckOpMode(_opmode) \
((_opmode == ATH9K_M_STA) || (_opmode == ATH9K_M_IBSS) || \
(_opmode == ATH9K_M_HOSTAP) || (_opmode == ATH9K_M_MONITOR))

#define AR5416_EEPROM_MAGIC_OFFSET 0x0

#define AR5416_EEPROM_S 2
Expand Down
5 changes: 0 additions & 5 deletions trunk/drivers/net/wireless/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1167,11 +1167,6 @@ int ath_rx_subframe(struct ath_node *an,
return 0;
}

enum ath9k_ht_macmode ath_cwm_macmode(struct ath_softc *sc)
{
return sc->sc_ht_info.tx_chan_width;
}

/********************************/
/* LED functions */
/********************************/
Expand Down

0 comments on commit 46885c5

Please sign in to comment.