Lines Matching refs:pInValue
744 const u8 *pInValue, in getNanReceivePostConnectivityCapabilityVal() argument
747 if (pInValue && pRxCapab) { in getNanReceivePostConnectivityCapabilityVal()
748 pRxCapab->is_mesh_supported = (pInValue[0] & (0x01 << 5)); in getNanReceivePostConnectivityCapabilityVal()
749 pRxCapab->is_ibss_supported = (pInValue[0] & (0x01 << 4)); in getNanReceivePostConnectivityCapabilityVal()
750 pRxCapab->wlan_infra_field = (pInValue[0] & (0x01 << 3)); in getNanReceivePostConnectivityCapabilityVal()
751 pRxCapab->is_tdls_supported = (pInValue[0] & (0x01 << 2)); in getNanReceivePostConnectivityCapabilityVal()
752 pRxCapab->is_wfds_supported = (pInValue[0] & (0x01 << 1)); in getNanReceivePostConnectivityCapabilityVal()
753 pRxCapab->is_wfd_supported = pInValue[0] & 0x01; in getNanReceivePostConnectivityCapabilityVal()
757 void NanCommand::getNanReceiveSdeaCtrlParams(const u8* pInValue, in getNanReceiveSdeaCtrlParams() argument
760 if (pInValue && pPeerSdeaParams) { in getNanReceiveSdeaCtrlParams()
762 (NanDataPathSecurityCfgStatus)((pInValue[0] & BIT_6) ? in getNanReceiveSdeaCtrlParams()
765 (NanRangingState)((pInValue[0] & BIT_7) ? in getNanReceiveSdeaCtrlParams()
769 (NanRangingLimitState)((pInValue[0] & BIT_8) ? in getNanReceiveSdeaCtrlParams()
776 int NanCommand::getNanReceivePostDiscoveryVal(const u8 *pInValue, in getNanReceivePostDiscoveryVal() argument
782 if (length <= 8 || pInValue == NULL) { in getNanReceivePostDiscoveryVal()
788 pRxDisc->type = (NanConnectionType) pInValue[0]; in getNanReceivePostDiscoveryVal()
789 pRxDisc->role = (NanDeviceRole) pInValue[1]; in getNanReceivePostDiscoveryVal()
790 pRxDisc->duration = (NanAvailDuration) (pInValue[2] & 0x03); in getNanReceivePostDiscoveryVal()
791 pRxDisc->mapid = ((pInValue[2] >> 2) & 0x0F); in getNanReceivePostDiscoveryVal()
793 &pInValue[4], in getNanReceivePostDiscoveryVal()
796 u8 *pInputTlv = (u8 *)&pInValue[8]; in getNanReceivePostDiscoveryVal()
845 int NanCommand::getNanFurtherAvailabilityMap(const u8 *pInValue, in getNanFurtherAvailabilityMap() argument
852 if ((length == 0) || pInValue == NULL) { in getNanFurtherAvailabilityMap()
858 *num_chans = pInValue[0]; in getNanFurtherAvailabilityMap()
873 (pNanFurtherAvailabilityChan)((u8 *)&pInValue[1] + \ in getNanFurtherAvailabilityMap()