A fading channel model that is flat in both time and frequency can be modeled as y = Rx + n, where the fading factor R remains constant for the entire duration of the transmission of the codeword. Determine the optimal decision rule for this channel for Ricean fading when the state information is available at the receiver and when it is not available.