summaryrefslogtreecommitdiffstats
path: root/sys/dev/ray/if_ray.c
diff options
context:
space:
mode:
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