Searched refs:ps_mode (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/wificonfig/ |
H A D | wificonfig.c | 3519 wl_ps_mode_t ps_mode; in do_set_powermode() local 3525 (void) memset(&ps_mode, 0xff, sizeof (ps_mode)); in do_set_powermode() 3533 ps_mode.wl_ps_mode = WL_PM_AM; in do_set_powermode() 3537 ps_mode.wl_ps_mode = WL_PM_MPS; in do_set_powermode() 3541 ps_mode.wl_ps_mode = WL_PM_FAST; in do_set_powermode() 3552 (void) memmove(gbuf->wldp_buf, &ps_mode, sizeof (wl_ps_mode_t)); in do_set_powermode() 3666 wl_ps_mode_t *ps_mode; in print_gbuf() local 3779 ps_mode = (wl_ps_mode_t *)(gbuf->wldp_buf); in print_gbuf() 3780 switch (ps_mode->wl_ps_mode) { in print_gbuf()
|
/titanic_44/usr/src/lib/libdladm/common/ |
H A D | linkprop.c | 3482 wl_ps_mode_t ps_mode; in set_powermode() local 3487 (void) memset(&ps_mode, 0xff, sizeof (ps_mode)); in set_powermode() 3491 ps_mode.wl_ps_mode = WL_PM_AM; in set_powermode() 3494 ps_mode.wl_ps_mode = WL_PM_MPS; in set_powermode() 3497 ps_mode.wl_ps_mode = WL_PM_FAST; in set_powermode() 3502 return (i_dladm_wlan_param(handle, linkid, &ps_mode, in set_powermode() 3503 MAC_PROP_WL_POWER_MODE, sizeof (ps_mode), B_TRUE)); in set_powermode()
|