summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_iwn.c
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2007-09-11 18:53:35 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2007-09-11 18:53:35 +0000
commita24fca2e5515c6c288b1f05c416b805c24cd1316 (patch)
tree18dc70474eff7d158a0d7f14d10cc483e8545d14 /sys/dev/pci/if_iwn.c
parentf20a0b6afbcd69672d1e54410a4745f23cf93a98 (diff)
s/iwn_edcaupdate/iwn_updateedca/ + hook it into net80211
Diffstat (limited to 'sys/dev/pci/if_iwn.c')
-rw-r--r--sys/dev/pci/if_iwn.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/pci/if_iwn.c b/sys/dev/pci/if_iwn.c
index 0b5220276ae..0ef0192f636 100644
--- a/sys/dev/pci/if_iwn.c
+++ b/sys/dev/pci/if_iwn.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_iwn.c,v 1.9 2007/09/10 20:36:49 damien Exp $ */
+/* $OpenBSD: if_iwn.c,v 1.10 2007/09/11 18:53:34 damien Exp $ */
/*-
* Copyright (c) 2007
@@ -134,7 +134,7 @@ int iwn_cmd(struct iwn_softc *, int, const void *, int, int);
int iwn_setup_node_mrr(struct iwn_softc *, uint8_t, int);
int iwn_set_key(struct ieee80211com *, struct ieee80211_node *,
const struct ieee80211_key *);
-void iwn_edcaupdate(struct ieee80211com *);
+void iwn_updateedca(struct ieee80211com *);
void iwn_set_led(struct iwn_softc *, uint8_t, uint8_t, uint8_t);
int iwn_set_critical_temp(struct iwn_softc *);
void iwn_enable_tsf(struct iwn_softc *, struct ieee80211_node *);
@@ -324,6 +324,7 @@ iwn_attach(struct device *parent, struct device *self, void *aux)
ic->ic_node_alloc = iwn_node_alloc;
ic->ic_newassoc = iwn_newassoc;
ic->ic_set_key = iwn_set_key;
+ ic->ic_updateedca = iwn_updateedca;
/* override state transition machine */
sc->sc_newstate = ic->ic_newstate;
@@ -2283,7 +2284,7 @@ iwn_set_key(struct ieee80211com *ic, struct ieee80211_node *ni,
}
void
-iwn_edcaupdate(struct ieee80211com *ic)
+iwn_updateedca(struct ieee80211com *ic)
{
#define IWN_EXP2(x) ((1 << (x)) - 1) /* CWmin = 2^ECWmin - 1 */
struct iwn_softc *sc = ic->ic_softc;