Lines 3173-3178
Link Here
|
3173 |
node.action = htole32(WPI_ACTION_SET_RATE); |
3173 |
node.action = htole32(WPI_ACTION_SET_RATE); |
3174 |
node.antenna = WPI_ANTENNA_BOTH; |
3174 |
node.antenna = WPI_ANTENNA_BOTH; |
3175 |
|
3175 |
|
|
|
3176 |
DPRINTF(sc, WPI_DEBUG_NODE, "%s: adding node %d (%s)\n", __func__, |
3177 |
wn->id, ether_sprintf(ni->ni_macaddr)); |
3178 |
|
3176 |
error = wpi_cmd(sc, WPI_CMD_ADD_NODE, &node, sizeof node, 1); |
3179 |
error = wpi_cmd(sc, WPI_CMD_ADD_NODE, &node, sizeof node, 1); |
3177 |
if (error != 0) { |
3180 |
if (error != 0) { |
3178 |
device_printf(sc->sc_dev, |
3181 |
device_printf(sc->sc_dev, |
Lines 3213-3218
Link Here
|
3213 |
node.action = htole32(WPI_ACTION_SET_RATE); |
3216 |
node.action = htole32(WPI_ACTION_SET_RATE); |
3214 |
node.antenna = WPI_ANTENNA_BOTH; |
3217 |
node.antenna = WPI_ANTENNA_BOTH; |
3215 |
|
3218 |
|
|
|
3219 |
DPRINTF(sc, WPI_DEBUG_NODE, "%s: adding broadcast node\n", __func__); |
3220 |
|
3216 |
return wpi_cmd(sc, WPI_CMD_ADD_NODE, &node, sizeof node, async); |
3221 |
return wpi_cmd(sc, WPI_CMD_ADD_NODE, &node, sizeof node, async); |
3217 |
} |
3222 |
} |
3218 |
|
3223 |
|
Lines 3279-3284
Link Here
|
3279 |
IEEE80211_ADDR_COPY(node.macaddr, ni->ni_macaddr); |
3284 |
IEEE80211_ADDR_COPY(node.macaddr, ni->ni_macaddr); |
3280 |
node.count = 1; |
3285 |
node.count = 1; |
3281 |
|
3286 |
|
|
|
3287 |
DPRINTF(sc, WPI_DEBUG_NODE, "%s: deleting node %d (%s)\n", __func__, |
3288 |
wn->id, ether_sprintf(ni->ni_macaddr)); |
3289 |
|
3282 |
error = wpi_cmd(sc, WPI_CMD_DEL_NODE, &node, sizeof node, 1); |
3290 |
error = wpi_cmd(sc, WPI_CMD_DEL_NODE, &node, sizeof node, 1); |
3283 |
if (error != 0) { |
3291 |
if (error != 0) { |
3284 |
device_printf(sc->sc_dev, |
3292 |
device_printf(sc->sc_dev, |