Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183920
b: refs/heads/master
c: 22e16e5
h: refs/heads/master
v: v3
  • Loading branch information
Larry Finger authored and John W. Linville committed Jan 27, 2010
1 parent b17cbc7 commit 1ac7b01
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 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: da8604757b1cdf79f24e118b156349543eb1b722
refs/heads/master: 22e16e55e36ab91148592c9bf0f2444bf766cd3c
11 changes: 10 additions & 1 deletion trunk/drivers/net/wireless/rtl818x/rtl8187_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1265,6 +1265,14 @@ static int rtl8187_conf_tx(struct ieee80211_hw *dev, u16 queue,
return 0;
}

static u64 rtl8187_get_tsf(struct ieee80211_hw *dev)
{
struct rtl8187_priv *priv = dev->priv;

return rtl818x_ioread32(priv, &priv->map->TSFT[0]) |
(u64)(rtl818x_ioread32(priv, &priv->map->TSFT[1])) << 32;
}

static const struct ieee80211_ops rtl8187_ops = {
.tx = rtl8187_tx,
.start = rtl8187_start,
Expand All @@ -1276,7 +1284,8 @@ static const struct ieee80211_ops rtl8187_ops = {
.prepare_multicast = rtl8187_prepare_multicast,
.configure_filter = rtl8187_configure_filter,
.conf_tx = rtl8187_conf_tx,
.rfkill_poll = rtl8187_rfkill_poll
.rfkill_poll = rtl8187_rfkill_poll,
.get_tsf = rtl8187_get_tsf,
};

static void rtl8187_eeprom_register_read(struct eeprom_93cx6 *eeprom)
Expand Down

0 comments on commit 1ac7b01

Please sign in to comment.