0330lxr修改
This commit is contained in:
parent
d5469bf014
commit
18a585d355
@ -1,4 +1,5 @@
|
||||
function [MCS, mcs_no] = MCS_sel(ModulationMode,CodeRate)
|
||||
CodeRate = eval(CodeRate);
|
||||
switch ModulationMode
|
||||
case 'BPSK'
|
||||
MCS = 0;
|
||||
|
@ -9,7 +9,7 @@ operator = cfgUI.JamDetect;
|
||||
% 干扰检测
|
||||
y = fft(rx_format(1:NFFT,:));
|
||||
data_Freuq = y(1:NFFT/2,:);
|
||||
J = Selecdt_Detection(data_Freuq,Pf,PfH,32,operator);
|
||||
J = Select_Detection(data_Freuq,Pf,PfH,32,operator);
|
||||
Type = JudgeTypeJam(J);
|
||||
|
||||
% struct jam_data;
|
||||
|
@ -10,6 +10,8 @@ if cfgUI.numTx == 1
|
||||
NumerologyNo = jj;
|
||||
break;
|
||||
end
|
||||
% if isempty(NumerologyNo)
|
||||
|
||||
end
|
||||
PacketSize = cfgUI.user1.APEPlength;
|
||||
[MCS, MCS_no] = MCS_sel(cfgUI.user1.ModulationMode,cfgUI.user1.CodeRate);
|
||||
@ -20,6 +22,7 @@ if cfgUI.numTx == 1
|
||||
cfgHE.ChannelCoding = cfgUI.user1.ChannelCode;
|
||||
cfgHE.NumTransmitAntennas = 1;
|
||||
cfgHE.NumerologyNo = NumerologyNo;
|
||||
cfgUI.allocation = RU_index;% 为什么要回传?
|
||||
else
|
||||
if strcmp(cfgUI.UserMode,'SU')
|
||||
% HE-SU
|
||||
|
Loading…
x
Reference in New Issue
Block a user