Lines Matching defs:wrp
3850 wl_rates_t *wrp;
3854 wrp = malloc(WLDP_BUFSIZE);
3855 if (wrp == NULL)
3858 status = i_dladm_wlan_param(handle, linkid, wrp, id, WLDP_BUFSIZE,
3863 if (wrp->wl_rates_num > *val_cnt) {
3868 if (wrp->wl_rates_rates[0] == 0) {
3874 for (i = 0; i < wrp->wl_rates_num; i++) {
3876 wrp->wl_rates_rates[i] % 2,
3877 (float)wrp->wl_rates_rates[i] / 2);
3879 *val_cnt = wrp->wl_rates_num;
3883 free(wrp);
3929 wl_rates_t *wrp;
3932 wrp = malloc(WLDP_BUFSIZE);
3933 if (wrp == NULL)
3936 bzero(wrp, WLDP_BUFSIZE);
3938 wrp->wl_rates_rates[i] = rates->wr_rates[i];
3939 wrp->wl_rates_num = rates->wr_cnt;
3943 status = i_dladm_wlan_param(handle, linkid, wrp,
3946 free(wrp);