DTC P1805: Brake Switch: Description
WARNING: This page is about a different car, the 2004 Nissan Murano. However, it is still accessible from the selected car via links, so may be relevant.
Brake switch signal is applied to the ECM through the stop lamp switch when the brake pedal is depressed. This signal is used mainly to decrease the engine speed when the vehicle is driving.