aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ral/rt2560.c
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2008-06-07 18:38:02 +0000
committerSam Leffler <sam@FreeBSD.org>2008-06-07 18:38:02 +0000
commit38c208f8760691435fc5c3560b5e2708072e1ab1 (patch)
tree35c5bfa4ecd32a44b4590d4a19f0dd51d652edaf /sys/dev/ral/rt2560.c
parent2dc4d8dc89f912e5efb536c50900d7a6deba5081 (diff)
downloadsrc-38c208f8760691435fc5c3560b5e2708072e1ab1.tar.gz
src-38c208f8760691435fc5c3560b5e2708072e1ab1.zip
Change the calling convention for ic_node_alloc to deal with
some longstanding issues: o pass the vap since it's now the "coin of the realm" and required to do things like set initial tx parameters in private node state for use prior to association o pass the mac address as cards that maintain outboard station tables require this to create an entry (e.g. in ibss mode) o remove the node table reference, we only have one node table and it's unlikely this will change so this is not needed to find the com structure
Notes
Notes: svn path=/head/; revision=179643
Diffstat (limited to 'sys/dev/ral/rt2560.c')
-rw-r--r--sys/dev/ral/rt2560.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/ral/rt2560.c b/sys/dev/ral/rt2560.c
index d012b8f9dd14..013a0e209fd7 100644
--- a/sys/dev/ral/rt2560.c
+++ b/sys/dev/ral/rt2560.c
@@ -104,8 +104,8 @@ static void rt2560_reset_rx_ring(struct rt2560_softc *,
struct rt2560_rx_ring *);
static void rt2560_free_rx_ring(struct rt2560_softc *,
struct rt2560_rx_ring *);
-static struct ieee80211_node *rt2560_node_alloc(
- struct ieee80211_node_table *);
+static struct ieee80211_node *rt2560_node_alloc(struct ieee80211vap *,
+ const uint8_t [IEEE80211_ADDR_LEN]);
static void rt2560_newassoc(struct ieee80211_node *, int);
static int rt2560_newstate(struct ieee80211vap *,
enum ieee80211_state, int);
@@ -767,7 +767,8 @@ rt2560_free_rx_ring(struct rt2560_softc *sc, struct rt2560_rx_ring *ring)
}
static struct ieee80211_node *
-rt2560_node_alloc(struct ieee80211_node_table *nt)
+rt2560_node_alloc(struct ieee80211vap *vap,
+ const uint8_t mac[IEEE80211_ADDR_LEN])
{
struct rt2560_node *rn;