Lines Matching refs:pFwReq

126     pNanEnableReqMsg pFwReq = (pNanEnableReqMsg)malloc(message_len);  in putNanEnable()  local
127 if (pFwReq == NULL) { in putNanEnable()
133 memset (pFwReq, 0, message_len); in putNanEnable()
134 pFwReq->fwHeader.msgVersion = (u16)NAN_MSG_VERSION1; in putNanEnable()
135 pFwReq->fwHeader.msgId = NAN_MSG_ID_ENABLE_REQ; in putNanEnable()
136 pFwReq->fwHeader.msgLen = message_len; in putNanEnable()
137 pFwReq->fwHeader.transactionId = id; in putNanEnable()
139 u8* tlvs = pFwReq->ptlv; in putNanEnable()
259 mVendorData = (char*)pFwReq; in putNanEnable()
278 pNanDisableReqMsg pFwReq = (pNanDisableReqMsg)malloc(message_len); in putNanDisable() local
279 if (pFwReq == NULL) { in putNanDisable()
285 memset (pFwReq, 0, message_len); in putNanDisable()
286 pFwReq->fwHeader.msgVersion = (u16)NAN_MSG_VERSION1; in putNanDisable()
287 pFwReq->fwHeader.msgId = NAN_MSG_ID_DISABLE_REQ; in putNanDisable()
288 pFwReq->fwHeader.msgLen = message_len; in putNanDisable()
289 pFwReq->fwHeader.transactionId = id; in putNanDisable()
291 mVendorData = (char*)pFwReq; in putNanDisable()
373 pNanConfigurationReqMsg pFwReq = (pNanConfigurationReqMsg)malloc(message_len); in putNanConfig() local
374 if (pFwReq == NULL) { in putNanConfig()
380 memset (pFwReq, 0, message_len); in putNanConfig()
381 pFwReq->fwHeader.msgVersion = (u16)NAN_MSG_VERSION1; in putNanConfig()
382 pFwReq->fwHeader.msgId = NAN_MSG_ID_CONFIGURATION_REQ; in putNanConfig()
383 pFwReq->fwHeader.msgLen = message_len; in putNanConfig()
384 pFwReq->fwHeader.transactionId = id; in putNanConfig()
386 u8* tlvs = pFwReq->ptlv; in putNanConfig()
451 mVendorData = (char*)pFwReq; in putNanConfig()
480 pNanPublishServiceReqMsg pFwReq = (pNanPublishServiceReqMsg)malloc(message_len); in putNanPublish() local
481 if (pFwReq == NULL) { in putNanPublish()
487 memset(pFwReq, 0, message_len); in putNanPublish()
488 pFwReq->fwHeader.msgVersion = (u16)NAN_MSG_VERSION1; in putNanPublish()
489 pFwReq->fwHeader.msgId = NAN_MSG_ID_PUBLISH_SERVICE_REQ; in putNanPublish()
490 pFwReq->fwHeader.msgLen = message_len; in putNanPublish()
492 pFwReq->fwHeader.handle = 0xFFFF; in putNanPublish()
494 pFwReq->fwHeader.handle = pReq->publish_id; in putNanPublish()
496 pFwReq->fwHeader.transactionId = id; in putNanPublish()
498 pFwReq->publishServiceReqParams.ttl = pReq->ttl; in putNanPublish()
499 pFwReq->publishServiceReqParams.period = pReq->period; in putNanPublish()
500 pFwReq->publishServiceReqParams.reserved = 0; in putNanPublish()
501 pFwReq->publishServiceReqParams.publishType = pReq->publish_type; in putNanPublish()
502 pFwReq->publishServiceReqParams.txType = pReq->tx_type; in putNanPublish()
504 pFwReq->publishServiceReqParams.rssiThresholdFlag = pReq->rssi_threshold_flag; in putNanPublish()
505 pFwReq->publishServiceReqParams.matchAlg = pReq->publish_match_indicator; in putNanPublish()
506 pFwReq->publishServiceReqParams.count = pReq->publish_count; in putNanPublish()
507 pFwReq->publishServiceReqParams.connmap = pReq->connmap; in putNanPublish()
508 pFwReq->publishServiceReqParams.pubTerminatedIndDisableFlag = in putNanPublish()
510 pFwReq->publishServiceReqParams.pubMatchExpiredIndDisableFlag = in putNanPublish()
512 pFwReq->publishServiceReqParams.followupRxIndDisableFlag = in putNanPublish()
515 pFwReq->publishServiceReqParams.reserved2 = 0; in putNanPublish()
517 u8* tlvs = pFwReq->ptlv; in putNanPublish()
535 mVendorData = (char *)pFwReq; in putNanPublish()
557 pNanPublishServiceCancelReqMsg pFwReq = in putNanPublishCancel() local
559 if (pFwReq == NULL) { in putNanPublishCancel()
565 memset(pFwReq, 0, message_len); in putNanPublishCancel()
566 pFwReq->fwHeader.msgVersion = (u16)NAN_MSG_VERSION1; in putNanPublishCancel()
567 pFwReq->fwHeader.msgId = NAN_MSG_ID_PUBLISH_SERVICE_CANCEL_REQ; in putNanPublishCancel()
568 pFwReq->fwHeader.msgLen = message_len; in putNanPublishCancel()
569 pFwReq->fwHeader.handle = pReq->publish_id; in putNanPublishCancel()
570 pFwReq->fwHeader.transactionId = id; in putNanPublishCancel()
572 mVendorData = (char *)pFwReq; in putNanPublishCancel()
605 pNanSubscribeServiceReqMsg pFwReq = (pNanSubscribeServiceReqMsg)malloc(message_len); in putNanSubscribe() local
606 if (pFwReq == NULL) { in putNanSubscribe()
612 memset(pFwReq, 0, message_len); in putNanSubscribe()
613 pFwReq->fwHeader.msgVersion = (u16)NAN_MSG_VERSION1; in putNanSubscribe()
614 pFwReq->fwHeader.msgId = NAN_MSG_ID_SUBSCRIBE_SERVICE_REQ; in putNanSubscribe()
615 pFwReq->fwHeader.msgLen = message_len; in putNanSubscribe()
617 pFwReq->fwHeader.handle = 0xFFFF; in putNanSubscribe()
619 pFwReq->fwHeader.handle = pReq->subscribe_id; in putNanSubscribe()
621 pFwReq->fwHeader.transactionId = id; in putNanSubscribe()
623 pFwReq->subscribeServiceReqParams.ttl = pReq->ttl; in putNanSubscribe()
624 pFwReq->subscribeServiceReqParams.period = pReq->period; in putNanSubscribe()
625 pFwReq->subscribeServiceReqParams.subscribeType = pReq->subscribe_type; in putNanSubscribe()
626 pFwReq->subscribeServiceReqParams.srfAttr = pReq->serviceResponseFilter; in putNanSubscribe()
627 pFwReq->subscribeServiceReqParams.srfInclude = pReq->serviceResponseInclude; in putNanSubscribe()
628 pFwReq->subscribeServiceReqParams.srfSend = pReq->useServiceResponseFilter; in putNanSubscribe()
629 pFwReq->subscribeServiceReqParams.ssiRequired = pReq->ssiRequiredForMatchIndication; in putNanSubscribe()
630 pFwReq->subscribeServiceReqParams.matchAlg = pReq->subscribe_match_indicator; in putNanSubscribe()
631 pFwReq->subscribeServiceReqParams.count = pReq->subscribe_count; in putNanSubscribe()
632 pFwReq->subscribeServiceReqParams.rssiThresholdFlag = pReq->rssi_threshold_flag; in putNanSubscribe()
633 pFwReq->subscribeServiceReqParams.subTerminatedIndDisableFlag = in putNanSubscribe()
635 pFwReq->subscribeServiceReqParams.subMatchExpiredIndDisableFlag = in putNanSubscribe()
637 pFwReq->subscribeServiceReqParams.followupRxIndDisableFlag = in putNanSubscribe()
639 pFwReq->subscribeServiceReqParams.connmap = pReq->connmap; in putNanSubscribe()
640 pFwReq->subscribeServiceReqParams.reserved = 0; in putNanSubscribe()
642 u8* tlvs = pFwReq->ptlv; in putNanSubscribe()
668 mVendorData = (char *)pFwReq; in putNanSubscribe()
690 pNanSubscribeServiceCancelReqMsg pFwReq = in putNanSubscribeCancel() local
692 if (pFwReq == NULL) { in putNanSubscribeCancel()
698 memset(pFwReq, 0, message_len); in putNanSubscribeCancel()
699 pFwReq->fwHeader.msgVersion = (u16)NAN_MSG_VERSION1; in putNanSubscribeCancel()
700 pFwReq->fwHeader.msgId = NAN_MSG_ID_SUBSCRIBE_SERVICE_CANCEL_REQ; in putNanSubscribeCancel()
701 pFwReq->fwHeader.msgLen = message_len; in putNanSubscribeCancel()
702 pFwReq->fwHeader.handle = pReq->subscribe_id; in putNanSubscribeCancel()
703 pFwReq->fwHeader.transactionId = id; in putNanSubscribeCancel()
705 mVendorData = (char *)pFwReq; in putNanSubscribeCancel()
735 pNanTransmitFollowupReqMsg pFwReq = (pNanTransmitFollowupReqMsg)malloc(message_len); in putNanTransmitFollowup() local
736 if (pFwReq == NULL) { in putNanTransmitFollowup()
742 memset (pFwReq, 0, message_len); in putNanTransmitFollowup()
743 pFwReq->fwHeader.msgVersion = (u16)NAN_MSG_VERSION1; in putNanTransmitFollowup()
744 pFwReq->fwHeader.msgId = NAN_MSG_ID_TRANSMIT_FOLLOWUP_REQ; in putNanTransmitFollowup()
745 pFwReq->fwHeader.msgLen = message_len; in putNanTransmitFollowup()
746 pFwReq->fwHeader.handle = pReq->publish_subscribe_id; in putNanTransmitFollowup()
747 pFwReq->fwHeader.transactionId = id; in putNanTransmitFollowup()
749 pFwReq->transmitFollowupReqParams.matchHandle = pReq->requestor_instance_id; in putNanTransmitFollowup()
751 pFwReq->transmitFollowupReqParams.priority = 1; in putNanTransmitFollowup()
753 pFwReq->transmitFollowupReqParams.priority = 2; in putNanTransmitFollowup()
755 pFwReq->transmitFollowupReqParams.window = pReq->dw_or_faw; in putNanTransmitFollowup()
756 pFwReq->transmitFollowupReqParams.followupTxRspDisableFlag = in putNanTransmitFollowup()
758 pFwReq->transmitFollowupReqParams.reserved = 0; in putNanTransmitFollowup()
760 u8* tlvs = pFwReq->ptlv; in putNanTransmitFollowup()
772 mVendorData = (char *)pFwReq; in putNanTransmitFollowup()
794 pNanStatsReqMsg pFwReq = in putNanStats() local
796 if (pFwReq == NULL) { in putNanStats()
802 memset(pFwReq, 0, message_len); in putNanStats()
803 pFwReq->fwHeader.msgVersion = (u16)NAN_MSG_VERSION1; in putNanStats()
804 pFwReq->fwHeader.msgId = NAN_MSG_ID_STATS_REQ; in putNanStats()
805 pFwReq->fwHeader.msgLen = message_len; in putNanStats()
806 pFwReq->fwHeader.transactionId = id; in putNanStats()
808 pFwReq->statsReqParams.statsType = pReq->stats_type; in putNanStats()
809 pFwReq->statsReqParams.clear = pReq->clear; in putNanStats()
810 pFwReq->statsReqParams.reserved = 0; in putNanStats()
812 mVendorData = (char *)pFwReq; in putNanStats()
835 pNanTcaReqMsg pFwReq = in putNanTCA() local
837 if (pFwReq == NULL) { in putNanTCA()
843 memset(pFwReq, 0, message_len); in putNanTCA()
844 pFwReq->fwHeader.msgVersion = (u16)NAN_MSG_VERSION1; in putNanTCA()
845 pFwReq->fwHeader.msgId = NAN_MSG_ID_TCA_REQ; in putNanTCA()
846 pFwReq->fwHeader.msgLen = message_len; in putNanTCA()
847 pFwReq->fwHeader.transactionId = id; in putNanTCA()
856 u8* tlvs = pFwReq->ptlv; in putNanTCA()
868 mVendorData = (char *)pFwReq; in putNanTCA()
893 pNanBeaconSdfPayloadReqMsg pFwReq = in putNanBeaconSdfPayload() local
895 if (pFwReq == NULL) { in putNanBeaconSdfPayload()
901 memset(pFwReq, 0, message_len); in putNanBeaconSdfPayload()
902 pFwReq->fwHeader.msgVersion = (u16)NAN_MSG_VERSION1; in putNanBeaconSdfPayload()
903 pFwReq->fwHeader.msgId = NAN_MSG_ID_BEACON_SDF_REQ; in putNanBeaconSdfPayload()
904 pFwReq->fwHeader.msgLen = message_len; in putNanBeaconSdfPayload()
905 pFwReq->fwHeader.transactionId = id; in putNanBeaconSdfPayload()
919 free(pFwReq); in putNanBeaconSdfPayload()
927 u8* tlvs = pFwReq->ptlv; in putNanBeaconSdfPayload()
934 mVendorData = (char *)pFwReq; in putNanBeaconSdfPayload()
1131 pNanFurtherAvailabilityMapAttrTlv pFwReq = \ in fillNanFurtherAvailabilityMapVal() local
1135 pFwReq->numChan = pFam->numchans; in fillNanFurtherAvailabilityMapVal()
1140 (pNanFurtherAvailabilityChan)((u8*)&pFwReq->pFaChan[0] + \ in fillNanFurtherAvailabilityMapVal()
1178 pNanCapabilitiesReqMsg pFwReq = (pNanCapabilitiesReqMsg)malloc(message_len); in putNanCapabilities() local
1179 if (pFwReq == NULL) { in putNanCapabilities()
1184 memset (pFwReq, 0, message_len); in putNanCapabilities()
1185 pFwReq->fwHeader.msgVersion = (u16)NAN_MSG_VERSION1; in putNanCapabilities()
1186 pFwReq->fwHeader.msgId = NAN_MSG_ID_CAPABILITIES_REQ; in putNanCapabilities()
1187 pFwReq->fwHeader.msgLen = message_len; in putNanCapabilities()
1188 pFwReq->fwHeader.transactionId = id; in putNanCapabilities()
1190 mVendorData = (char*)pFwReq; in putNanCapabilities()