summaryrefslogtreecommitdiffstats
path: root/sys/dev/ray/if_ray.c
diff options
context:
space:
mode:
authordmlb <dmlb@FreeBSD.org>2000-06-11 13:57:59 +0000
committerdmlb <dmlb@FreeBSD.org>2000-06-11 13:57:59 +0000
commit2a3819876e5cf7c462459466de8fd4345c7e1da4 (patch)
tree7354c4f865084ba15004f32025fc5920e6e09334 /sys/dev/ray/if_ray.c
parente435531885ea16506658958cd60fb01847e76f41 (diff)
downloadFreeBSD-src-2a3819876e5cf7c462459466de8fd4345c7e1da4.zip
FreeBSD-src-2a3819876e5cf7c462459466de8fd4345c7e1da4.tar.gz
Suck out all of the current and desired n/w parameters.
Diffstat (limited to 'sys/dev/ray/if_ray.c')
-rw-r--r--sys/dev/ray/if_ray.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/dev/ray/if_ray.c b/sys/dev/ray/if_ray.c
index b1e1563..2af117a 100644
--- a/sys/dev/ray/if_ray.c
+++ b/sys/dev/ray/if_ray.c
@@ -288,10 +288,10 @@
* acting as ap - should be able to get working from the manual
*
* ray_nw_param
+ * promisc in here too? - done
* should be able to update the parameters before we download to the
* device
* differeniate between parameters set in attach and init
- * promisc in here too? - done
* sc_station_addr in here too (for changing mac address)
* move desired into the command structure?
* take downloaded MIB from a complete nw_param?
@@ -2753,6 +2753,18 @@ ray_repparams_user(struct ray_softc *sc, struct ray_param_req *pr)
case RAY_MIB_DES_PRIV_JOIN:
*pr->r_data = sc->sc_d.np_priv_join;
break;
+ case RAY_MIB_CUR_AP_STATUS:
+ *pr->r_data = sc->sc_c.np_ap_status;
+ break;
+ case RAY_MIB_CUR_PROMISC:
+ *pr->r_data = sc->sc_c.np_promisc;
+ break;
+ case RAY_MIB_DES_AP_STATUS:
+ *pr->r_data = sc->sc_d.np_ap_status;
+ break;
+ case RAY_MIB_DES_PROMISC:
+ *pr->r_data = sc->sc_d.np_promisc;
+ break;
default:
return (EINVAL);
OpenPOWER on IntegriCloud