+/*******************************************************************
+ *
+ * @brief Handles FAPI param response
+ *
+ * @details
+ *
+ * Function : lwrMacHndlParamReq
+ *
+ * Functionality:
+ * -Handles FAPI param request
+ *
+ * @params[in] Message pointer
+ *
+ * @return void
+ *
+ *****************************************************************/
+S16 lwrMacHndlParamReq(void *msg)
+{
+ ClCellCb *cellCb = NULLP;
+ fapi_param_resp_t *paramRsp;
+
+ paramRsp = (fapi_param_resp_t *)msg;
+
+ if(paramRsp->error_code != MSG_OK)
+ {
+ printf("\nPHY configuration failed");
+ RETVALUE(RFAILED);
+ }
+
+ if(paramRsp->tlvs[0].value == 0)
+ {
+ cellCb->phyState = PHY_STATE_IDLE;
+ clGlobalCp.phyState = PHY_STATE_IDLE;
+ }
+
+ printf("\nReceived successful PHY configuration response");
+
+ SPutSBuf(0, 0, (Data *)msg, paramRsp->header.length);
+
+
+ RETVALUE(ROK);
+
+}
+